зеркало из https://github.com/mozilla/treeherder.git
remove session scope from datasource test fixtures
This commit is contained in:
Родитель
35a5f7e2df
Коммит
6d43a2fccb
|
@ -94,7 +94,7 @@ def increment_cache_key_prefix():
|
|||
cache.key_prefix = "t{0}".format(key_prefix_counter)
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
@pytest.fixture()
|
||||
def jobs_ds():
|
||||
from django.conf import settings
|
||||
from treeherder.model.models import Datasource
|
||||
|
@ -106,7 +106,7 @@ def jobs_ds():
|
|||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
@pytest.fixture()
|
||||
def objectstore_ds():
|
||||
from django.conf import settings
|
||||
from treeherder.model.models import Datasource
|
||||
|
|
|
@ -165,3 +165,4 @@ def test_refdata_manager(refdata, params):
|
|||
# assert row[version] == 'v1'
|
||||
# assert row[version_timestamp] == 1366290144
|
||||
# assert row[active_status] == 'active'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче