Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
catileptic committed Oct 8, 2024
1 parent bde2b38 commit 067beb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions servicelayer/taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ def get_status(self):
status["last_update"] = last_update

for stage in self.conn.smembers(self.active_stages_key):
stage_key = self.get_stage_key(stage)

num_pending = unpack_int(
self.conn.scard(make_key(PREFIX, "qds", self.name, stage, "pending"))
)
Expand Down
6 changes: 0 additions & 6 deletions tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ def setUp(self):
conn=self.connection, name=dataset_from_collection_id(self.collection_id)
)

def test_get_stage_key(self):
stage = "ingest"
assert (
self.dataset.get_stage_key(stage) == f"tq:qds:{self.collection_id}:{stage}"
)

def test_get_active_datasets_key(self):
assert self.dataset.key == "tq:qdatasets"

Expand Down

0 comments on commit 067beb8

Please sign in to comment.