mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
small fix
This commit is contained in:
parent
cf34718cf4
commit
bd8562a58e
@ -87,3 +87,6 @@ class FactoryTest(UDSTestCase):
|
||||
with mock.patch.object(factory.logger, 'debug') as mock_debug:
|
||||
test_factory.register('first', Subclass1)
|
||||
mock_debug.assert_called_once()
|
||||
|
||||
# As singleton, another instance should be the same
|
||||
self.assertEqual(test_factory, factory.Factory[FactoryObject]())
|
||||
|
Loading…
Reference in New Issue
Block a user