Commit Graph

337 Commits (02abe5315a47b83856aa820fc4291bfb5e15b231)

Author SHA1 Message Date
Raphaël Vinot 15fb54b032 Update tests 2017-01-11 14:50:58 -05: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
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 dcd76ec5c4 Fix python 2.7 support, add missing test file 2016-09-28 18:50:05 +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 8dbeec3f96 Cleanup create_events 2016-08-26 18:25:39 +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
Raphaël Vinot 33a2f0603e Add travis 2016-08-17 18:36:01 +02:00
Raphaël Vinot 24e328f737 Add forgotten files 2016-08-17 18:24:17 +02:00
Raphaël Vinot 0134e2a9e3 Initial version of the offline TestCases
Related #56
2016-08-17 18:21:50 +02: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