80693d6b8c
We need to return `None`, not `0` if there are no additional repositories to measure
13 lines
426 B
Python
13 lines
426 B
Python
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
|
|
|
|
|