This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/workers/test/test_repositoryactioncounter.py

14 lines
426 B
Python
Raw Normal View History

from data import model, database
from test.fixtures import app, appconfig, database_uri, init_db_path, sqlitedb_file
from workers.repositoryactioncounter import RepositoryActionCountWorker
def test_repositoryactioncount(app):
database.RepositoryActionCount.delete().execute()
database.RepositorySearchScore.delete().execute()
rac = RepositoryActionCountWorker()
while rac._count_repository_actions():
continue