Raphaël Vinot
a3cad2c21e
Fix forgotten copy
2017-03-14 10:47:20 +01:00
Raphaël Vinot
4cbd15a4a2
Fix spell
2017-03-10 14:56:32 +01:00
Raphaël Vinot
8a186bfd26
Merge branch 'master' of github.com:CIRCL/PyCIRCLean
2017-03-10 14:45:11 +01:00
Raphaël Vinot
b0224d781a
Update slides
2017-03-10 14:45:00 +01:00
Raphaël Vinot
515687b1fe
Generate SHA256 hash instead of SHA1.
2017-03-10 12:20:57 +01:00
Raphaël Vinot
dd35d23162
Merge pull request #8 from dputtick/dev-py3
...
Version 2.1
2017-01-19 18:23:17 -05:00
Dan Puttick
3041c6303f
Update changelog to version 2.1
2017-01-19 17:48:14 -05:00
Dan Puttick
833ade6008
Change to Python 3 compatible only
2017-01-19 17:06:34 -05:00
Dan Puttick
fd30fb3e08
Change _run_process() to use builtin timeout parameter
...
NOTE: this change breaks Python 2 compatability: subprocess.check_call does not
take a timeout argument in Python 2.7
2017-01-19 17:00:10 -05:00
Dan Puttick
573cf51b69
Switch back to main officedissector repo
2017-01-19 16:28:22 -05:00
Dan Puttick
4eaa639a7a
Remove /playground
2017-01-19 16:23:53 -05:00
Dan Puttick
3b1df108d5
Rename test_helpers
2017-01-19 16:19:15 -05:00
Dan Puttick
faf534c66f
Add test.obj to src_invalid
2017-01-19 16:12:32 -05:00
Dan Puttick
d06832e524
Remove kittengroomer/data/
2017-01-19 16:11:58 -05:00
Dan Puttick
21cc175867
Move non-filecheck.py binaries into examples directory
...
Tests for these scripts also removed from /tests and from .travis.yml
Two .zip archives accidentally deleted from /tests/src_invalid, re-added them
and changed .gitignore to prevent the problem
2017-01-19 15:25:08 -05:00
Dan Puttick
f7ab393eb6
Refactor FileBase helper methods
2017-01-18 15:51:54 -05:00
Dan Puttick
d4bfe794be
In FileBase, self.extension is now always lowercase
2017-01-18 15:51:54 -05:00
Dan Puttick
43c01e0f05
Add example autorun.inf file to tests/src_invalid
2017-01-18 15:51:54 -05:00
Dan Puttick
3dad4faa61
Reorganize tests making them easier to run
...
- The tests now automatically run depending on whether you have the dependencies
installed, instead of failing and throwing exceptions.
- CONTRIBUTING.md has more information on how to run the tests.
- When the tests run, they will save their logs to /test_logs instead
of printing them so you can read them later.
- Change names of source file directories to make them more descriptive
2017-01-18 15:51:54 -05:00
Dan Puttick
70a73dc292
Move process_file code into its own method
2017-01-18 15:51:50 -05:00
Dan Puttick
35501b69af
Create test_filecheck.py
2017-01-18 15:51:47 -05:00
Dan Puttick
0badab0b20
Small setup.py change
2016-12-20 15:16:58 -05:00
Dan Puttick
173a844b69
Some reorganization of filecheck.py, adding docstrings
2016-12-20 12:35:30 -05:00
Dan Puttick
ecb4f56710
Small fixes to bin/README.md
2016-12-16 17:38:40 -05:00
Dan Puttick
cef4223c53
Deleting old tests, minor test reorganization.
2016-12-16 17:36:21 -05:00
Dan Puttick
09973488eb
Added small comment to helpers.py
2016-12-16 16:10:59 -05:00
Dan Puttick
cb4ae5deec
Changing travis and tests to run filecheck in Python 3
2016-12-16 16:07:43 -05:00
Dan Puttick
7bafff3699
Fixed several small filecheck.py bugs for python3 compat
2016-12-16 16:06:12 -05:00
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