Commit Graph

52 Commits (582dda0ce2a8ca8e1dd2cf3842e0491caca51c62)

Author SHA1 Message Date
Raphaël Vinot fe91d06b91 chg: Remove dependency on six 2019-02-06 11:31:05 +01:00
Raphaël Vinot a7a178c4bd fix: test case. 2018-11-22 15:25:52 +01:00
Raphaël Vinot ceedb6e95c fix: Python2 support.
Fix #274
2018-09-17 13:59:28 -07:00
Raphaël Vinot 9669d892c5 chg: make it possible to run the tests manually. 2018-08-12 22:46:21 +02:00
Raphaël Vinot 457758b350 fix: Test cases & attributes automatically getting an UUID 2018-05-03 21:36:40 +02:00
Raphaël Vinot 05bbfac658 fix: Encode string in _encode_file_to_upload 2018-01-29 10:30:37 +01:00
Raphaël Vinot bdf1dfe63c fix: Only skip test for 3.0->3.5 2018-01-28 20:40:09 +01:00
Raphaël Vinot ab9e6aabf5 fix: sys.api_version -> sys.version_info 2018-01-26 21:41:53 +01:00
Raphaël Vinot 1cb1672998 chg: Skip sample upload test on python 3.4 2018-01-26 21:36:09 +01:00
Louis LCE 3d6fa51a7a Add tag test 2018-01-24 16:19:53 +01:00
Louis LCE c80bef0e0d Add a simple test for uploading samples 2018-01-24 15:31:09 +01:00
Louis LCE 2b1546ab43 Improve and refactor attributes tests 2018-01-24 15:19:31 +01:00
Stefan Hagen (Individual) f68faf7c61 further tests added (for public methods) 2017-12-11 15:27:50 +01:00
Stefan Hagen (Individual) 635c02eadc changed asserts from dict usecases to set comparison to workaround non 3.6 behavior 2017-12-11 14:18:06 +01:00
Stefan Hagen (Individual) 207e1f195e Merge branch 'master' of https://github.com/MISP/PyMISP into first-friendly-contribution-enhance-coverage 2017-12-11 14:04:04 +01:00
Stefan Hagen (Individual) e7f395a92c enhance coverage and fix en passant with focus on api 2017-12-11 14:00:43 +01:00
Raphaël Vinot 7946e2ef83 fix: Disable pseudofile support in py2, skip tests. 2017-12-09 13:35:44 +01:00
Raphaël Vinot 52e079fea2 chg: Allow to pass a pseudofile to LIEF 2017-12-09 13:12:04 +01:00
Raphaël Vinot 2e46f00055 fix: Bump describeTypes.json
Add testing
2017-12-01 10:36:09 +01:00
Raphaël Vinot a8daa9b972 Fix test suite 2017-10-25 11:17:25 -04:00
Sebastian Wagner 0790e571a1
TST: skip test with optional files if not existing 2017-09-20 11:34:16 +02:00
Raphaël Vinot b1989f16f2 Merge branch 'objects' 2017-09-18 11:43:48 +01:00
Raphaël Vinot da2b28a927 Use MISPAbstract as a master class everywhere.
This is probably breaking everything.... ¯\_(ツ)_/¯
2017-09-12 16:46:06 +02:00
Raphaël Vinot 2bc0745fbf Refactoring in order to load objects 2017-08-28 19:16:20 +02:00
Raphaël Vinot 38a488c70c Update tests 2017-08-25 17:14:33 +02:00
Raphaël Vinot 6d06b77d76 Improve event ID detection in publish method 2017-08-04 19:30:40 +02:00
Raphaël Vinot 622a5701ee Fix typo in variable name. 2017-07-27 17:14:49 +02:00
Raphaël Vinot d75cb6eacb Update offline tests 2017-04-13 17:02:48 +02:00
Raphaël Vinot 38f2dbe94d Add an attributes to an event without sending the full existing event 2017-03-15 11:33:24 +01:00
Raphaël Vinot 166724828c Fix tests 2017-03-09 16:41:07 +01:00
Raphaël Vinot 402018e528 Update tests.
Fix #86
2017-02-23 14:42:33 +01:00
Raphaël Vinot cc3176fe38 Fix testing 2017-01-27 13:17:38 +01:00
Raphaël Vinot 619538ced7 Fix travis 2017-01-16 15:41:17 -05:00
Hannah Ward cfb8572ab1
new: Added ability to add attachments to events 2017-01-13 13:15:53 +00:00
Raphaël Vinot 15fb54b032 Update tests 2017-01-11 14:50:58 -05:00
Raphaël Vinot d75d02b5eb Fix merge conflict, make pep8 happy. 2016-12-03 17:29:41 +01:00
morallo 68ced070e4 Added test for search_index by tag string 2016-12-02 18:52:56 +01:00
morallo a6a851f38d Solved warnings in tests when run under Python3 2016-12-02 16:53:45 +01:00
morallo 31cf37fa02 Added test case for search_index by tag 2016-12-02 16:52:00 +01:00
Nicolas Bareil 59b7d19970 map() is a generator in Python3 2016-12-01 14:26:59 +01:00
Nicolas Bareil fff3a66d09 Unit-tests 2016-12-01 10:49:12 +01:00
Raphaël Vinot 8be38693b7 Fix test 2016-10-10 13:42:06 +02:00
Raphaël Vinot 6482a21834 More cleanup 2016-09-28 18:20:37 +02:00
Raphaël Vinot e035922949 Getting closed to a full support of a misp event as a Python Object 2016-09-27 19:47:22 +02:00
Raphaël Vinot cd25559c94 Fix flattening, fix python2.7 2016-08-27 18:13:15 +02:00
Raphaël Vinot 1532bc879f Improve testing 2016-08-26 18:23:02 +02:00
Raphaël Vinot 0dbf7564ec add auth error test 2016-08-19 10:13:00 +02:00
Raphaël Vinot cdc77de598 Add some more tests 2016-08-18 13:18:58 +02:00
Raphaël Vinot a4acc5d147 Add tests 2016-08-18 00:40:30 +02:00
Raphaël Vinot cdcb1cca5e Update testing 2016-08-18 00:23:49 +02:00