change dashboard test to reflect demo changes to uploads view

This commit is contained in:
jimmoffet
2022-09-09 17:02:48 -07:00
parent 740470f6bd
commit 69abec0bb3
28 changed files with 127 additions and 183 deletions

View File

@@ -26,7 +26,6 @@ def test_organisation_type_when_service_and_its_org_both_have_an_org_type(mocker
assert service.organisation_type == 'local'
@pytest.mark.skip(reason='@cache decorator disabled until caching is fixed')
def test_organisation_name_comes_from_cache(mocker, service_one):
mock_redis_get = mocker.patch(
'app.extensions.RedisClient.get',
@@ -41,7 +40,6 @@ def test_organisation_name_comes_from_cache(mocker, service_one):
assert mock_get_organisation.called is False
@pytest.mark.skip(reason='@cache decorator disabled until caching is fixed')
def test_organisation_name_goes_into_cache(mocker, service_one):
mocker.patch(
'app.extensions.RedisClient.get',
@@ -65,7 +63,6 @@ def test_organisation_name_goes_into_cache(mocker, service_one):
)
@pytest.mark.skip(reason='@cache decorator disabled until caching is fixed')
def test_service_without_organisation_doesnt_need_org_api(mocker, service_one):
mock_redis_get = mocker.patch('app.extensions.RedisClient.get')
mock_get_organisation = mocker.patch('app.organisations_client.get_organisation')