Traceback (most recent call last):


 "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched

return func(*args, **keywargs)


 "/home/ubuntu/binaryalert/tests/lambda_functions/build_test.py", line 107, in test_build_downloader

mock_pip.assert_called_once()


 "/usr/lib/python3.5/unittest/mock.py", line 583, in __getattr__

raise AttributeError(name)
AttributeError: assert_called_once

Traceback (most recent call last):


 "widgets/gitlab.py", line 2, in <module>

import gitlab


 "/widgets/gitlab.py", line 4, in <module>

gl = gitlab.Gitlab('https://gitlab.example.com', private_token='****')
AttributeError: partially initialized module 'gitlab' has no attribute 'Gitlab' (most likely due to a circular import)
