mirror of https://github.com/MISP/PyMISP
fix: test case.
parent
0770a15659
commit
a7a178c4bd
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"response": [
|
||||
[
|
||||
{
|
||||
"SharingGroup": {
|
||||
"id": "1",
|
||||
|
@ -96,5 +95,4 @@
|
|||
],
|
||||
"editable": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -112,7 +112,8 @@ class TestOffline(unittest.TestCase):
|
|||
self.initURI(m)
|
||||
pymisp = PyMISP(self.domain, self.key)
|
||||
sharing_groups = pymisp.get_sharing_groups()
|
||||
self.assertEqual(sharing_groups[0], self.sharing_groups['response'][0])
|
||||
print(sharing_groups)
|
||||
self.assertEqual(sharing_groups['response'][0], self.sharing_groups[0])
|
||||
|
||||
def test_auth_error(self, m):
|
||||
self.initURI(m)
|
||||
|
|
|
@ -18,7 +18,7 @@ except ImportError as e:
|
|||
|
||||
from uuid import uuid4
|
||||
|
||||
travis_run = False
|
||||
travis_run = True
|
||||
|
||||
|
||||
class TestComprehensive(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue