Commit Graph

378 Commits (2eff2b71275810b08fe57a910c54bc92b9dfa463)

Author SHA1 Message Date
Raphaël Vinot ff08dc1353 Merge pull request #7 from dputtick/test-unit
Docstrings and unit testing for helpers.py
2016-12-15 10:13:39 +01:00
Dan Puttick 18373e5292 Removed 2.7_with_site_packages from python versions 2016-12-14 15:51:56 -05:00
Dan Puttick 4f851435e5 Updated path traversal link, changed pip installs 2016-12-14 15:49:29 -05:00
Dan Puttick 0364e038e1 Added unit tests for KittenGroomerBase 2016-12-14 15:44:59 -05:00
Dan Puttick 196a9fcac1 Added unit tests for FileBase 2016-12-12 17:03:44 -05:00
Dan Puttick 52f56581d1 Skeleton of unit tests using pytest 2016-12-12 17:03:44 -05:00
Dan Puttick 27d15254f4 Added/changed docstrings for KittenGroomerBase 2016-12-12 17:03:38 -05:00
Dan Puttick 62a7f680b4 Added/changed docstrings to FileBase 2016-12-09 11:28:38 -05:00
Dan Puttick 146f258e54 Refactored mimetype code into its own method 2016-12-09 11:28:38 -05:00
Raphaël Vinot 62e62412cf Merge pull request #6 from dputtick/dev/test
Converting tests to pytest
2016-12-09 16:00:53 +01:00
Dan Puttick dc9c864e23 Removed __init__ from . and changed imports in tests
Python import system can be tricky, but I think that not having __init__ in
the main directory here is better. We'll have to make sure it doesn't break
anything.
2016-12-07 13:19:45 -05:00
Dan Puttick 91e6b85319 Updated .travis.yml to make build pass + added pytest-cov 2016-12-07 13:19:45 -05:00
Dan Puttick d0414cfbdc Added contents of tests/dst to gitignore 2016-12-07 13:19:45 -05:00
Dan Puttick 67e825046d Added fixtures for source and dest in test_examples 2016-12-07 13:19:26 -05:00
Dan Puttick 516b14ca10 Renamed test src directories for clarity 2016-12-07 13:19:26 -05:00
Dan Puttick fdf8fae065 Created test_examples.py
Decided that it makes sense to test example code seperately from module code.
At some point might move these tests in with the example code, but for now am
keeping them seperate and simple.
2016-12-07 13:18:28 -05:00
Dan Puttick b450abbaaa Setting up pytest 2016-12-07 13:17:16 -05:00
Dan Puttick 496aa479bd Minimum changes to make Travis build work
Had to comment out the path traversal exploit section due to broken bitbucket link.
Also added --no-check-certificate due to wget not finding a valid certificate for
https://www.officedissector.com
2016-12-07 11:09:11 -05:00
Dan Puttick e44c64f676 Wrote first version of CONTRIBUTING.md 2016-12-01 14:42:10 -05:00
Dan Puttick ea3c4e276c Added new docs related files to manifest 2016-12-01 13:58:16 -05:00
Dan Puttick 227532d83d Deleted README.rst 2016-12-01 11:36:49 -05:00
Dan Puttick 26366cdb6d Added dev-requirements 2016-11-30 14:08:11 -05:00
Dan Puttick 8eac0d25f9 Small change to bin/README.md 2016-11-30 13:53:41 -05:00
Dan Puttick 5615d5ef52 Small changes and typo fixes to README 2016-11-30 13:36:10 -05:00
Dan Puttick 71e47e4943 Added contributing.md, fixed playground readme typo 2016-11-30 13:35:45 -05:00
Dan Puttick 0b3bed6f0b Created changelog 2016-11-30 13:20:35 -05:00
Raphaël Vinot 04f2185b5d Improve RTF support 2016-05-17 14:10:14 +02:00
Raphaël Vinot fda900afc8 Cleanup unused mimetypes 2016-05-17 11:50:34 +02:00
Raphaël Vinot c4af907345 Add model/* example 2016-05-17 11:44:01 +02:00
Raphaël Vinot b9e38bfa3f Add message/* mimetype file 2016-05-17 11:15:38 +02:00
Raphaël Vinot 6154c3748d Add valid symlink 2016-05-17 11:11:24 +02:00
Raphaël Vinot 647bae27a3 Add RTF file and valid test file for pier9 script 2016-05-16 21:02:55 +02:00
Raphaël Vinot 6b9d1bdcc1 Add audio & video test file 2016-05-16 20:32:56 +02:00
Raphaël Vinot a4b045030c Add testfile for symlinks 2016-05-16 20:24:25 +02:00
Raphaël Vinot d22ea78f55 Add tests for OpenDocument 2016-05-16 20:15:38 +02:00
Raphaël Vinot 61f519edb4 Reduce default recursive archives 2016-05-16 14:23:56 +02:00
Raphaël Vinot d05f8e9665 Fix Archive bomb 2016-05-16 12:25:52 +02:00
Raphaël Vinot cd69454642 Unzip the original bomb (password protected) 2016-05-16 11:39:19 +02:00
Raphaël Vinot 580385d0d9 Add zipbomb in the test script 2016-05-16 11:25:01 +02:00
Raphaël Vinot f23ec234dc Do not install the package as root 2016-05-14 20:47:43 +02:00
Raphaël Vinot 3eecd9cc16 Fix winoffice file processing with olefile 2016-05-14 20:44:16 +02:00
Raphaël Vinot 93be47e56f Better support of system packages 2016-05-14 20:27:27 +02:00
Raphaël Vinot 4c9d47c984 Add test file for office 2016-05-14 20:03:40 +02:00
Raphaël Vinot 51ba52db38 Update version 2016-05-12 17:35:17 +02:00
Raphaël Vinot 8ba0d12113 Avoid processing OOXML files twice 2016-05-11 15:16:17 +02:00
Raphaël Vinot abb565094c Fix py3 support 2016-05-10 17:16:04 +02:00
Raphaël Vinot 3efa57f0e2 write logfile as binary, use system packages when possible 2016-05-09 18:56:30 +02:00
Raphaël Vinot 2df076aaf9 Allow the build to run for 30 min without output 2016-05-09 18:40:09 +02:00
Raphaël Vinot 8dd8164095 Use system python packages 2016-05-09 18:36:39 +02:00
Raphaël Vinot f69ac5ae2e Better support of badly encoded names 2016-05-09 18:32:45 +02:00