Currently, tests run via `tox -epy27` are failing with a TypeError:
An example of the full traceback of the failure can be found here:
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "designate/tests/unit/test_backend/test_designate.py", line 78, in setUp self.backend = impl_designate.DesignateBackend(self.target)
File "designate/backend/impl_designate.py", line 42, in __init__ super(DesignateBackend, self).__init__(target)
File "designate/backend/base.py", line 49, in __init__ self.admin_context = DesignateContext.get_admin_context()
File "designate/context.py", line 138, in get_admin_context
return cls(None, **kwargs)
File "designate/context.py", line 45, in __init__ super(DesignateContext, self).__init__(
TypeError: must be type, not MagicMock
Currently, tests run via `tox -epy27` are failing with a TypeError:
An example of the full traceback of the failure can be found here:
Captured traceback: tests/unit/ test_backend/ test_designate. py", line 78, in setUp
self.backend = impl_designate. DesignateBacken d(self. target) backend/ impl_designate. py", line 42, in __init__
super( DesignateBacken d, self)._ _init__ (target) backend/ base.py" , line 49, in __init__
self.admin_ context = DesignateContex t.get_admin_ context( ) context. py", line 138, in get_admin_context context. py", line 45, in __init__
super( DesignateContex t, self).__init__(
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "designate/
File "designate/
File "designate/
File "designate/
return cls(None, **kwargs)
File "designate/
TypeError: must be type, not MagicMock
======
Totals
======
Ran: 1249 tests in 81.0000 sec.
- Passed: 1238
- Skipped: 3
- Expected Fail: 4
- Unexpected Success: 0
- Failed: 4