mirror of https://github.com/MISP/PyMISPGalaxies
chg: python3
parent
004efe818f
commit
885a28ee79
|
@ -1,4 +1,4 @@
|
||||||
language: python
|
language: python3
|
||||||
|
|
||||||
cache: pip
|
cache: pip
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from .api import Galaxies, Clusters, EncodeGalaxies, EncodeClusters, UnableToRevertMachinetag
|
from .api import Galaxies, Clusters, EncodeGalaxies, EncodeClusters, UnableToRevertMachinetag
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class TestPyMISPGalaxies(unittest.TestCase):
|
||||||
count = Counter(all_searchable)
|
count = Counter(all_searchable)
|
||||||
for k, v in count.items():
|
for k, v in count.items():
|
||||||
if v != 1:
|
if v != 1:
|
||||||
warnings.warn(f'Duplicate on {cluster.type}: {k}')
|
warnings.warn('Duplicate on {}: {}'.format(cluster.type, k))
|
||||||
|
|
||||||
def test_duplicates(self):
|
def test_duplicates(self):
|
||||||
has_duplicates = False
|
has_duplicates = False
|
||||||
|
|
Loading…
Reference in New Issue