Skip to content

Commit

Permalink
Gebruik laatste grouperbestanden.
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Feb 16, 2020
1 parent 7c7cf02 commit 80ceec0
Show file tree
Hide file tree
Showing 6 changed files with 107,756 additions and 94,952 deletions.
10 changes: 5 additions & 5 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ filter:
- test/*

before_commands:
- sudo pip3 install cleo==0.6.1
- sudo pip3 install cleo==0.6.8
- sudo pip3 install lxml
- sudo pip3 install coverage

build:
dependencies:
before:
- pip3 install cleo==0.6.1
- pip3 install cleo==0.6.8
- pip3 install lxml
- pip3 install coverage

tests:
before:
- unzip -x test/var/lib/20190101\ Groupertabellen\ v20180920.zip -d test/var/lib/
- kerapu kerapu:shredder test/var/lib/20190101\ BoomBestanden\ v20180920.xml test/var/lib/
- kerapu kerapu:shredder test/var/lib/20190101\ Referenties\ v20180920.xml test/var/lib/
- unzip -x "test/var/lib/20200101 Groupertabellen v20190919.zip" -d test/var/lib/
- kerapu kerapu:shredder "test/var/lib/20200101 BoomBestanden v20190919.xml" test/var/lib/
- kerapu kerapu:shredder "test/var/lib/20200101 Referenties v20190919.xml" test/var/lib/

override:
- command: coverage run -m unittest discover -s test -p *Test.py
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ python:
sudo: true

install:
- pip install cleo==0.6.1
- pip install cleo==0.6.8
- pip install lxml
- pip install coverage

script:
- cd $TRAVIS_BUILD_DIR
- unzip -x test/var/lib/20190101\ Groupertabellen\ v20180920.zip -d test/var/lib/
- python3 bin/kerapu kerapu:shredder test/var/lib/20190101\ BoomBestanden\ v20180920.xml test/var/lib/
- python3 bin/kerapu kerapu:shredder test/var/lib/20190101\ Referenties\ v20180920.xml test/var/lib/
- unzip -x "test/var/lib/20200101 Groupertabellen v20190919.zip" -d test/var/lib/
- python3 bin/kerapu kerapu:shredder "test/var/lib/20200101 BoomBestanden v20190919.xml" test/var/lib/
- python3 bin/kerapu kerapu:shredder "test/var/lib/20200101 Referenties v20190919.xml" test/var/lib/
- python3 -m unittest discover -s test -p *Test.py
4 changes: 2 additions & 2 deletions test/SchrederTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_referentie(self):
command = application.find('kerapu:shredder')
command_tester = CommandTester(command)
status = command_tester.execute([('command', command.get_name()),
('XML-bestand', 'test/var/lib/20190101 Referenties v20180920.xml'),
('XML-bestand', 'test/var/lib/20200101 Referenties v20190919.xml'),
('folder', 'test/var/lib')])

output = command_tester.get_display().rstrip()
Expand Down Expand Up @@ -52,7 +52,7 @@ def test_boom(self):
command = application.find('kerapu:shredder')
command_tester = CommandTester(command)
status = command_tester.execute([('command', command.get_name()),
('XML-bestand', 'test/var/lib/20190101 BoomBestanden v20180920.xml'),
('XML-bestand', 'test/var/lib/20200101 BoomBestanden v20190919.xml'),
('folder', 'test/var/lib')])

output = command_tester.get_display().rstrip()
Expand Down
Binary file removed test/var/lib/20190101 Groupertabellen v20180920.zip
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 80ceec0

Please sign in to comment.