Skip to content

Commit

Permalink
chore: Update Test file.
Browse files Browse the repository at this point in the history
  • Loading branch information
osala-eng committed Sep 10, 2023
1 parent b29edd7 commit c931352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/docq/support/store_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest
from docq.config import FeatureType, SpaceType
from docq.domain import SpaceKey
from docq.domain import FeatureKey, SpaceKey
from docq.support.store import (
get_history_table_name,
get_index_dir,
Expand Down Expand Up @@ -62,7 +62,7 @@ def test_get_index_dir(self: Self, type_: SpaceType, id_: int, expected: str):
],
)
def test_get_sqlite_usage_file(self: Self, id_: int, expected: str):
assert get_sqlite_usage_file(id_) == expected
assert get_sqlite_usage_file(FeatureKey(FeatureType.ASK_PERSONAL, id_)) == expected

def test_get_sqlite_system_file(self: Self):
assert get_sqlite_system_file() == DATA_DIR + "/sqlite/SHARED/system.db"
Expand Down

0 comments on commit c931352

Please sign in to comment.