Commit Graph

26 Commits (55b4a0725bcd091c959df1b4b9b29d50980a3d5d)

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