Commit Graph

31 Commits (7ea50075e473a81805c1989b2179c8ca8e79c859)

Author SHA1 Message Date
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