deNBI / perunKeystoneAdapter

Perun Keystone Adapter parses data propagated by Perun data and modifies a connected Keystone.
https://perunkeystoneadapter.readthedocs.io/en/latest/
Apache License 2.0
5 stars 0 forks source link

Error on unittest run #7

Closed pbelmann closed 6 years ago

pbelmann commented 6 years ago

Running the following command

python -m "unittest" test_endpoint.py

reports:

FF
======================================================================
FAIL: test_import_denbi_portal_compute_center (test_endpoint.TestEndpoint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pbelmann/projects/perunKeystoneAdapter/test/test_endpoint.py", line 159, in test_import_denbi_portal_compute_center
    self._test_project(after_import_projects['9999'],'9999',['50000','50001','50002'])
  File "/home/pbelmann/projects/perunKeystoneAdapter/test/test_endpoint.py", line 43, in _test_project
    self.assertSetEqual(set(denbiproject['members']),set(members))
AssertionError: Items in the second set but not the first:
'50000'
'50002'
'50001'

======================================================================
FAIL: test_import_scim (test_endpoint.TestEndpoint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pbelmann/projects/perunKeystoneAdapter/test/test_endpoint.py", line 75, in test_import_scim
    self._test_project(after_import_projects['9845'],'9845',['1','2','3'])
  File "/home/pbelmann/projects/perunKeystoneAdapter/test/test_endpoint.py", line 43, in _test_project
    self.assertSetEqual(set(denbiproject['members']),set(members))
AssertionError: Items in the second set but not the first:
'1'
'3'
'2'

----------------------------------------------------------------------
Ran 2 tests in 1.745s

FAILED (failures=2)