CYBEX-P / tahoe

A Cyberthreat Language (CTL) to replace STIX
Other
0 stars 1 forks source link

Unittest error #31

Open qclassified opened 4 years ago

qclassified commented 4 years ago
(tahoe) D:\tahoe>python -m unittest
..........F.................................................................................................................
======================================================================
FAIL: test04_find_one (tahoe.tests.identity.test_backend.IdentityBackendTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\tahoe\tahoe\tests\identity\test_backend.py", line 55, in test04_find_one
    self.assertIsNone(self._backend.find_one())
AssertionError: {'a': 1, '_id': ObjectId('5effcdf956cf8304b80e4b7e'), 'b': 2} is not None

----------------------------------------------------------------------
Ran 124 tests in 0.102s

FAILED (failures=1)

(tahoe) D:\tahoe>cd tahoe

(tahoe) D:\tahoe\tahoe>python -m unittest
............................................................................................................................
----------------------------------------------------------------------
Ran 124 tests in 0.108s

OK

(tahoe) D:\tahoe\tahoe>