Raphaël Vinot
10bd88cb06
chg: [tests] Add custom error message on upload_sample - fix last commit.
2019-07-05 10:34:48 +02:00
Raphaël Vinot
5aa94d277b
chg: [tests] Add custom error message on upload_sample
2019-07-05 10:16:47 +02:00
Alexandre Dulaunoy
583fb65924
chg: [tests] now deleted flag is returning only the deleted values (to be consistent)
2019-05-23 07:43:26 +02:00
Raphaël Vinot
a79c4ed9c2
chg: Use pydeep from pypi, add test
2019-05-08 12:16:43 +02:00
Raphaël Vinot
5a4c37d029
chg: Bump dependencies.
2019-05-07 11:04:25 +02:00
Raphaël Vinot
66f5154284
fix: Bump Test files because of new template version
2019-04-24 15:55:47 +02:00
Raphaël Vinot
b67d2e024c
chg: Allow to pass an AbstractMISP to add_reference
...
Fix #379
2019-04-16 11:41:43 +02:00
Raphaël Vinot
e545a7cbc1
new: test cases for attributes and proposals
2019-04-12 16:40:22 +02:00
Raphaël Vinot
633f75db24
new: Improve python3.6+ lib
2019-04-11 23:13:15 +02:00
Raphaël Vinot
e8334be9ca
new Add test for ASNObject
2019-04-11 09:47:57 +02:00
Raphaël Vinot
52402c2acf
new: add_attributes method in MISPObject (for multiple attributes)
2019-04-09 17:54:12 +02:00
Raphaël Vinot
b1b9f95501
new: Method to set the default role
2019-04-04 16:39:17 +02:00
Raphaël Vinot
3fb54e62b2
new: Default to "me" in the get_user method, update ExpandedPyMISP
...
Fix #377
2019-04-04 14:37:17 +02:00
Raphaël Vinot
a68bd80ab9
fix: Add missing files for testing (CSV loader)
2019-04-04 10:53:28 +02:00
Raphaël Vinot
99b2052449
new: Add get_object to ExpandedPyMISP.
...
Fix #372
2019-04-04 10:42:37 +02:00
Raphaël Vinot
1de4c9d0b9
new: Test cases for CSV loader, add cleaner methods in ExpandedPyMISP
2019-04-03 17:46:52 +02:00
Raphaël Vinot
64bcaad0e5
fix: Properly test query ACLs
2019-03-25 16:12:01 +01:00
Raphaël Vinot
a2d5a8a3a8
new: Test for ACLs in testlive
2019-03-25 15:41:11 +01:00
Raphaël Vinot
c888af177f
fix: Update all json submodules at one place in testlive
2019-03-25 10:57:12 +01:00
Raphaël Vinot
8940c09925
chg: Display an error on failure in testlive
2019-03-25 10:38:21 +01:00
Raphaël Vinot
aeb0f913e4
new: Test for manual calls to add_object and add_object_reference
2019-03-22 12:51:20 +01:00
Raphaël Vinot
cc35d81fa3
fix: Disable some tests for the run on travis.
2019-03-20 11:18:38 +01:00
Raphaël Vinot
6eab404eaa
chg: Add tests for disable_tag
2019-03-20 11:13:38 +01:00
Raphaël Vinot
7a146b684e
chg: Reorganize some tests
2019-03-20 10:44:59 +01:00
Raphaël Vinot
1ecdedb53c
fix: Do not fail when importing the reportlab file
2019-03-12 16:22:36 +01:00
Raphaël Vinot
b82d3c25de
fix: Do not run PDF Export tests on python < 3.6
2019-03-12 16:05:03 +01:00
Raphaël Vinot
637af49b21
Merge pull request #362 from Vincent-CIRCL/master
...
fix: [exportpdf] Custom path for fonts and font package
2019-03-12 13:05:52 +01:00
Raphaël Vinot
ec6439ce34
fix: Slight changes in new .change_disable_correlation method
2019-03-11 11:32:54 +01:00
Raphaël Vinot
e73bdc765e
Merge branch 'master' of https://github.com/l3m0ntr33/PyMISP into l3m0ntr33-master
2019-03-11 11:07:47 +01:00
Raphaël Vinot
c592bfcca9
fix: get_object_template_id was broken. Add test case.
...
Fix #361
2019-03-11 10:15:45 +01:00
Raphaël Vinot
35b4f3f852
new: Test update object in event
2019-03-11 09:39:08 +01:00
l3m0ntr33
2edc6eedca
Fix a type on function name.
2019-03-08 16:04:09 +01:00
hrifflet
e91d4a7d2d
Add new function PyMISP.change_disablecorrelation(attribute_uuid,disable_correlation) to be able to enable/disable correlation on attributes.
2019-03-08 11:33:33 +00:00
Falconieri
9d6585cd3a
fix: [exportpdf] Custom path for fonts and font package
2019-03-05 11:37:01 +01:00
Raphaël Vinot
b8759673b9
chg: Add i8n for pdfexport, without all the fonts in the main repo
2019-03-04 16:06:38 -08:00
Vincent-CIRCL
83ef1b851e
Merge branch 'master' into master
2019-03-01 09:07:45 +01:00
Falconieri
a06c8cf5b8
fix: [reportlab] Galaxies and Clusters printing
2019-03-01 09:06:01 +01:00
Falconieri
9adff0b574
chg: [exportPDF] add basic handling of clusters
2019-02-28 10:58:49 +01:00
Raphaël Vinot
c35a2aea55
fix: Hopefully last fix for python 2.7 & reportlab.
2019-02-27 23:53:47 -08:00
Raphaël Vinot
ece54a942b
fix: Bump tests relatively to the file template
2019-02-27 23:30:19 -08:00
Raphaël Vinot
0f56a306be
chg: Enforce strict in object testing to ease debugging
2019-02-27 23:22:05 -08:00
Raphaël Vinot
227a6e8926
fix: Let's act as if python2 doesn't exists.
2019-02-27 22:02:12 -08:00
Falconieri
a9c0ce4107
fix: [exportPDF] Adding facultative text description, sightings, tests cases
2019-02-27 11:48:56 +01:00
Falconieri
8194c534d7
add : [exportpdf] Objects handling, tests cases,
...
test files
2019-02-26 15:35:40 +01:00
Falconieri
029ca57b5f
fix: [exportpdf] Refactoring, nicer code
2019-02-26 14:28:31 +01:00
Falconieri
29a1b05c1f
add: [exportpdf] Handling pictures embedded as attributes
2019-02-26 14:03:25 +01:00
Falconieri
cefcc3430c
add : [exportpdf] Picture management, manual
2019-02-26 11:13:24 +01:00
Falconieri
f36d8908a7
fix: [exportpdf] tests paths
2019-02-25 15:55:47 +01:00
Falconieri
2adac8f0d2
chg: [exportpdf] Add metadata, bugfixes cases (too long values, sanitization), links to misp instances
2019-02-25 15:49:53 +01:00
Falconieri
ee2a2f4af7
fix: [exportpdf] Remove comment that codefactor doesn't like
2019-02-22 18:13:05 +01:00
Falconieri
37d3f2f613
fix & add: [exportpdf] Add metadata, fix special cases (too long values, sanitization)
2019-02-22 17:47:22 +01:00
Falconieri
76ef3d058f
fix: [pdfexport] Fix tests paths, dependency in pipfile, imports, and 'file' name overwrite in test function
2019-02-22 11:34:41 +01:00
Falconieri
57eccfe7dc
add: exportpdf tool working
2019-02-22 10:18:44 +01:00
Falconieri
0fc780994f
general improvement : deisgn, exhaustiviness of mispEvent values displayed, good pratice concerning paragraphe/table made
2019-02-20 16:15:56 +01:00
Falconieri
c7511812f0
Structure of the improvements OK : test file, test folder, report generator
2019-02-19 15:17:00 +01:00
Raphaël Vinot
b0fe78a9f8
fix: Disable all logging in the tests
2019-02-07 15:53:36 +01:00
Raphaël Vinot
fe91d06b91
chg: Remove dependency on six
2019-02-06 11:31:05 +01:00
Raphaël Vinot
2c877f2aec
fix: Disable STIX test on travis.
2019-02-03 20:23:24 +01:00
Raphaël Vinot
02b99c23fa
fix: Properly inform user when they try to run the live tests on old systems.
...
Fix #329
2019-02-03 13:00:51 +01:00
Raphaël Vinot
0a01a16c6b
new: Add test cases for stix export
2019-02-01 11:07:42 +01:00
Raphaël Vinot
1ec357cd74
new: Add missing test case for NOT on attribute level, update Pipfile
2019-01-25 10:35:53 +01:00
Raphaël Vinot
7bbcdf262b
fix: Test case was broken
2018-12-26 19:42:42 +01:00
Raphaël Vinot
1c6b3d8245
new: Add test for references when adding/updating a full event
2018-12-26 19:22:47 +01:00
Raphaël Vinot
a3108f7689
fix: error vs errors key
2018-12-26 17:38:19 +01:00
Raphaël Vinot
864aa5fe70
chg: set verifycert to false in tests
2018-12-10 14:08:23 +01:00
Steve Clement
58d08889b3
chg: [tests] Added verifycert option in case of using self-signed cert.
2018-12-10 13:52:59 +01:00
Raphaël Vinot
b895c30b39
fix: Test failing on travis...
2018-11-29 18:14:10 +01:00
Raphaël Vinot
573e4a426c
chg: Add test cases for default distribution levels
2018-11-29 17:27:58 +01:00
Raphaël Vinot
a7a178c4bd
fix: test case.
2018-11-22 15:25:52 +01:00
Raphaël Vinot
0770a15659
new: search_index in ExpandedPyMISP, cleanup, update jupyter
2018-11-22 14:29:07 +01:00
Raphaël Vinot
0fa38eaed9
fix: Do not run the zmq test on travis
2018-11-21 15:25:39 +01:00
Raphaël Vinot
9a7caa71fb
new: Add test for pushing an event to ZMQ
2018-11-12 10:16:01 +01:00
Raphaël Vinot
f500d46470
fix: travis run
2018-11-02 09:01:29 +01:00
Raphaël Vinot
444a9f5755
Merge branch 'master' into sightingAPI
2018-10-31 16:42:30 +01:00
Raphaël Vinot
8d33e20721
new: Add test cases for sightings, cleanup
2018-10-31 16:42:01 +01:00
Raphaël Vinot
7d490096fe
chg: Add print in testlive to debug travis
2018-10-30 18:28:49 +01:00
Raphaël Vinot
f46e7f50c9
fix: test cases
2018-10-25 18:19:13 -04:00
Raphaël Vinot
0a2a6b3d6b
new: Allow to pass csv to return_format in search
2018-10-21 22:58:07 -04:00
Raphaël Vinot
a8a7193059
new: page/limit in search
2018-10-21 18:49:38 -04:00
Raphaël Vinot
cb2dbbd481
fix: Test cases sample files
2018-10-12 15:52:08 +02:00
Raphaël Vinot
9a2610a61f
chg: More test cases
2018-10-05 17:45:12 +02:00
Raphaël Vinot
1dc2f664d1
fix: disable test for travis, take 2
2018-09-29 16:12:06 -04:00
Raphaël Vinot
0d1675e154
fix: disable test for travis
2018-09-29 16:00:28 -04:00
Raphaël Vinot
c08deb95b6
new: tests for update modules
2018-09-29 15:44:02 -04:00
Raphaël Vinot
2dbd21a752
new: tests for upload_sample
2018-09-29 15:11:42 -04:00
Raphaël Vinot
01899ecfb7
new: Add more test cases
2018-09-28 10:36:56 -04:00
Raphaël Vinot
ba02c6c766
fix: Skip tests that fail on travis for no reason...
2018-09-27 12:56:30 -04:00
Raphaël Vinot
442ba07175
chg: Add an extra IP from the warninglists
2018-09-25 13:11:22 -04:00
Raphaël Vinot
8c473b0e06
fix: Tentative to fix tests on travis
2018-09-25 12:00:56 -04:00
Raphaël Vinot
b95fdf9218
new: Update warninglists
2018-09-25 10:32:32 -04:00
Raphaël Vinot
da0f6ef7d2
new: Add test for warninglists
2018-09-25 09:32:17 -04:00
Raphaël Vinot
532157f3c9
chg: test for event UUID in attribute
2018-09-21 13:33:22 -07:00
Raphaël Vinot
e9d82ea02e
fix: Disable test warning lists. Enabling is not deterministic.
2018-09-21 13:22:37 -07:00
Raphaël Vinot
b636a320df
new: toggle warning list, add test case
2018-09-21 13:02:15 -07:00
Raphaël Vinot
f3a28f464d
fix: Make travis happy again
2018-09-19 17:42:41 -07:00
Raphaël Vinot
2607111b19
add: more test cases
2018-09-19 17:22:37 -07: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
cd1de8c6bf
New: use new CSV interface, add test cases
2018-09-17 18:37:07 -07:00
Raphaël Vinot
ceedb6e95c
fix: Python2 support.
...
Fix #274
2018-09-17 13:59:28 -07:00
Raphaël Vinot
8b8459ce53
fix: normalizing the outputs
2018-08-28 17:30:07 -04:00
Raphaël Vinot
47fc0ac3c6
fix: tests are passing fine now
2018-08-21 14:34:35 +02:00
Raphaël Vinot
11aaebb5df
chg: Fix testing
2018-08-21 11:35:36 +02:00
Raphaël Vinot
3ee90602ea
chg: More testing improvments
2018-08-21 11:16:51 +02:00
Raphaël Vinot
99271bac24
chg: Finish rewrite testing
2018-08-21 00:32:27 +02:00
Raphaël Vinot
5b76f0a262
chg: rework test cases
2018-08-20 18:27:06 +02:00
Raphaël Vinot
303079af3b
chg: Add more test cases
2018-08-19 14:35:32 +02:00
Raphaël Vinot
2c03fb96c2
new: [test] Attribute modification
2018-08-17 15:09:17 +02:00
Raphaël Vinot
75b15af427
fix: properly validate the last-type search query
2018-08-13 13:31:35 +02:00
Raphaël Vinot
9669d892c5
chg: make it possible to run the tests manually.
2018-08-12 22:46:21 +02:00
Raphaël Vinot
d557bf0823
fix: Live test failing on list order
2018-08-12 22:13:29 +02:00
Raphaël Vinot
21ea2e969b
chg: print error message
2018-08-12 01:21:49 +02:00
Raphaël Vinot
739ab41896
new: More test cases, bug fixes
2018-08-10 19:04:02 +02:00
Raphaël Vinot
fcb83f7318
new: Reworking the REST API (WiP)
2018-08-09 18:12:05 +02:00
Raphaël Vinot
3b42497967
fix: Opening the json blobs as bytes was buggy
2018-08-08 10:18:51 +02:00
Raphaël Vinot
29f96435f4
fix: One more failing test
2018-07-23 10:22:20 +02:00
Raphaël Vinot
673063e071
fix: Tests were failing
2018-07-23 10:19:21 +02:00
Raphaël Vinot
457758b350
fix: Test cases & attributes automatically getting an UUID
2018-05-03 21:36:40 +02:00
Raphaël Vinot
c5be2f2f86
fix: Tests, new template version.
2018-04-22 19:25:52 +02:00
Raphaël Vinot
a35db89102
fix: New key - extends_uuid
2018-04-12 18:34:50 +02:00
Raphaël Vinot
0be3f78412
fix: Update test file accordingly to the default value
2018-04-05 11:44:34 +02:00
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