1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/workers/gc/test/test_gcworker.py
Kenny Lee Sin Cheong 5f63b3a7bb chore: drop deprecated tables and remove unused code (PROJQUAY-522) (#2089)
* chore: drop deprecated tables and remove unused code

* isort imports

* migration: check for table existence before drop
2023-08-25 12:17:24 -04:00

9 lines
220 B
Python

from test.fixtures import *
from workers.gc.gcworker import GarbageCollectionWorker
def test_gc(initialized_db):
worker = GarbageCollectionWorker()
worker._garbage_collection_repos(skip_lock_for_testing=True)