Skip to content

Commit

Permalink
chg: Skip sample upload test on python 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 26, 2018
1 parent e589acd commit 1cb1672
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import json
import os
import six
import sys
from io import BytesIO

import pymisp as pm
Expand Down Expand Up @@ -443,6 +444,8 @@ def test_download_samples(self, m):
self.assertEqual((False, None), pymisp.download_samples())

def test_sample_upload(self, m):
if sys.api_version <= (3, 4):
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)
Expand Down

0 comments on commit 1cb1672

Please sign in to comment.