Commit Graph

37 Commits (d55a5f90dec382e5d9c68f34959cdf8d19390809)

Author SHA1 Message Date
Raphaël Vinot 2785d0027d fix: [Python2] Use LRU cache decorator, fix call to describe_types in PyMISP 2019-10-10 10:15:23 +02:00
Alexandre Dulaunoy b67cec60a3
chg: [test] remove attribute field which was not foreseen in 2.4 branch
Signed-off: by the Hungarian leader
2019-09-16 15:06:05 +02:00
Raphaël Vinot 605cdc21ef chg: Fix travis tests due to sighting_timestamp 2019-09-16 13:10:14 +02:00
Raphaël Vinot 1f74a943e6 chg: New local key in Org/Orgc 2019-08-26 19:40:14 +02:00
Raphaël Vinot f384d74049 chg: Improve test cases 2019-08-16 11:28:07 +02:00
Raphaël Vinot 9d0be8d3f0 new: Add option to locally expand malware samples with LIEF 2019-07-18 14:05:08 +02:00
Raphaël Vinot e56f70b722 new: Add lots of test cases, find lots of bugs 2018-09-18 21:58:20 -07:00
Raphaël Vinot d557bf0823 fix: Live test failing on list order 2018-08-12 22:13:29 +02:00
Raphaël Vinot a35db89102 fix: New key - extends_uuid 2018-04-12 18:34:50 +02:00
Louis LCE f122cdca90 Fix add_hashes test function parameters 2018-01-12 22:01:08 +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 7e797e5f6f fix: live tests 2017-09-20 16:02:18 +01:00
Raphaël Vinot 49de3a8951 Remove useless import 2017-07-20 10:22:20 +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
iglocska 97e799e68a Small change to make travis happy
- attribute_count default changed to 0 in misp
2017-03-10 16:32:15 +01:00
iglocska a673377a37 added creator email field to the assertions 2017-02-21 09:39:26 +01:00
Raphaël Vinot 2f967268d1 Add new key in online test 2017-01-06 21:03:02 -05:00
Raphaël Vinot 8cec9377c1 Fix tests 2016-12-07 14:35:49 +01:00
Raphaël Vinot db182ce286 Ignore order in event 2016-12-07 11:32:14 +01:00
Iglocska 13dbaef5b7 Added galaxyies to the test 2016-12-07 10:01:55 +01:00
Jurriaan Bremer f23a7c3357 allow multiple attributes to be sent off at once
Slightly worked out version of the suggestion by doomedraven in #42.
2016-08-16 11:44:08 +02:00
Raphaël Vinot 2722540322 Fix tests 2016-08-12 14:30:50 +02:00
Sebastian Wagner 45379a1158
Fix prints in tests
Signed-off-by: Sebastian Wagner <sebix@sebix.at>
2016-08-10 15:15:55 +02:00
Hannah Ward 414ddaec01
Added STIX retrieval
- misp.get_stix(event_id=ID, with_attachment=True/False,
			from_date=YYYY-MM-DD, to_date=YYYY-MM-DD,
			tags=["tag1", "tag2"]
	                )
2016-07-14 12:55:37 +01:00
Raphaël Vinot 3a2414bc8c Update testcases for 2.4 2016-01-04 17:51:15 +01:00
Raphaël Vinot a334055749 Add debug option 2015-11-25 09:51:22 +01:00
iglocska 6407693671 reverted my previous commit that broke an assertion 2015-11-13 11:22:04 +01:00
iglocska de91860d5d Print the event so we can see what travis is trying to compare against
- should help with the debugw
2015-11-13 11:10:53 +01:00
iglocska dbe87b6ebd Fixed an invalid assertion
- attribute count is None not u'0' when no attributes exist (should be fixed on MISP side in the long run)
2015-11-13 10:49:03 +01:00
iglocska fc1193e53e Fixed a typo causing the tests to fail 2015-11-13 10:47:32 +01:00
Raphaël Vinot 1ac11fa28b [UnitTest] Add some functions, testing. 2015-09-26 21:00:33 +02:00
Raphaël Vinot 81fa4e5bdd Add test cases (initial) 2015-09-22 15:25:47 +02:00