Commit Graph

92 Commits (b89a1bc135f44de18f70a29e472fd8ee85766e02)

Author SHA1 Message Date
Raphaël Vinot f8c18c027e fix: test files 2018-03-22 16:19:02 +01:00
Raphaël Vinot 0b945556ec fix: Update reference test cases 2018-02-13 11:37:26 +01: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
Louis LCE f122cdca90 Fix add_hashes test function parameters 2018-01-12 22:01:08 +01:00
Raphaël Vinot b733ddbdb0 chg: Improve Object Attribute editing 2018-01-12 16:15:09 +01:00
Raphaël Vinot 4e36ac34dc fix: Make python2 happy. 2018-01-12 00:45:34 +01:00
Raphaël Vinot 8d9a5af8d3 chg: Allow to pass a directory with custom object templates 2018-01-12 00:38:15 +01:00
Raphaël Vinot a01e7f5e27 fix: edited method works as expected, add tests. 2018-01-05 19:17:25 +01:00
Raphaël Vinot 8ce7a497af fix: Forgotten test files in last commit... 2018-01-05 11:38:10 +01:00
Raphaël Vinot 4a95a54501 fix: disable_correlation from template not properly used 2018-01-05 11:34:08 +01:00
Raphaël Vinot b41f057855 chg: Fix tests (new template version) 2018-01-04 17:50:52 +01:00
Raphaël Vinot 53eb22cac5 chg: Add test for loading existing malware sample from MISP 2018-01-04 17:12:15 +01:00
Raphaël Vinot bb1aac5720 chg: Multiple changes
* Fix timestamp dump (properly enforce UTC)
* Properly handle proposals
* Add many getter/setter
* Add dedicated test cases for MISPEvent and other objects
2018-01-04 16:43:19 +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 f4439ae970 chg: Add live tests for recommended pymisp version and describeTypes up-to-date 2017-12-01 16:15:46 +01:00
Raphaël Vinot 7ea7ca07d1 fix: Typo in the tests 2017-12-01 14:40:52 +01:00
Raphaël Vinot 9a2b82a2ae chg: Add a way to check if the ACL is up-to-date 2017-12-01 14:35:19 +01:00
Raphaël Vinot 20987f7f0f fix: Typo in live tests 2017-12-01 14:08:51 +01:00
Raphaël Vinot eb5cf6c06c chg: Add validators for describeTypes on the live instance 2017-12-01 14:02: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
Raphaël Vinot 7e797e5f6f fix: live tests 2017-09-20 16:02:18 +01: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 49de3a8951 Remove useless import 2017-07-20 10:22:20 +02:00
Raphaël Vinot d75cb6eacb Update offline tests 2017-04-13 17:02:48 +02:00
Raphaël Vinot 4a2021f244 Fix testing 2017-04-13 16:56:28 +02:00
Adrien RAFFIN b32332a0a2 test: add test for user and organisation
This is a proposition of test to create a user and an organisation in MISP
2017-04-13 12:17:27 +02:00
Raphaël Vinot 7b60a7355c Update test file 2017-04-07 18:54:43 +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
iglocska 97e799e68a Small change to make travis happy
- attribute_count default changed to 0 in misp
2017-03-10 16:32:15 +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
iglocska 0f6d7907c2 Merge branch 'master' into travisfix 2017-02-21 10:02:39 +01:00