mirror of https://github.com/MISP/PyMISP
fix: Only skip test for 3.0->3.5
parent
ab9e6aabf5
commit
bdf1dfe63c
|
@ -444,11 +444,11 @@ class TestOffline(unittest.TestCase):
|
|||
self.assertEqual((False, None), pymisp.download_samples())
|
||||
|
||||
def test_sample_upload(self, m):
|
||||
if sys.version_info <= (3, 4):
|
||||
if (3, 0) < sys.version_info < (3, 5):
|
||||
return unittest.SkipTest()
|
||||
self.initURI(m)
|
||||
pymisp = PyMISP(self.domain, self.key)
|
||||
upload = pymisp.upload_sample("tmux", "tests/viper-test-files/test_files/tmux" , 1)
|
||||
upload = pymisp.upload_sample("tmux", "tests/viper-test-files/test_files/tmux", 1)
|
||||
|
||||
def test_get_all_tags(self, m):
|
||||
self.initURI(m)
|
||||
|
@ -470,5 +470,6 @@ class TestOffline(unittest.TestCase):
|
|||
uuid = self.event["Event"]["uuid"]
|
||||
pymisp.untag(uuid, "foo")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in New Issue