Fix test
This commit is contained in:
parent
4508074236
commit
aee8dccba8
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ def test_cleanup_organization_deleted(make_organization):
|
|||
organization = make_organization(gcom_token="TEST_GCOM_TOKEN")
|
||||
|
||||
with patch.object(GcomAPIClient, "get_instance_info", return_value=({"status": "deleted"}, None)):
|
||||
cleanup_organization(organization)
|
||||
cleanup_organization(organization.id)
|
||||
|
||||
with pytest.raises(ObjectDoesNotExist):
|
||||
organization.refresh_from_db()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue