Skip to content

Commit

Permalink
Fix codefactor error
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanEdCosta committed Aug 31, 2022
1 parent 795ded6 commit d7436a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_device_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def test_create_device(self, db_mock_session, query_property_getter_mock):
result = DeviceHandler.create_device(params, token)

@patch('flask_sqlalchemy._QueryProperty.__get__')
def test_create_device_integrity_errors(self, query_get_mock):
def test_create_device_integrity_errors(self, query_get_mock):
with patch('DeviceManager.DeviceHandler.init_tenant_context') as mock_init_tenant_context:
mock_init_tenant_context.return_value = 'admin'
with patch('DeviceManager.DeviceHandler.DeviceHandler.generate_device_id') as mock_device_id:
Expand Down

0 comments on commit d7436a2

Please sign in to comment.