Skip to content

Commit

Permalink
[UT] follow the way settings are loaded currently.
Browse files Browse the repository at this point in the history
  • Loading branch information
stannam committed Apr 5, 2022
1 parent 19c9879 commit a3d2716
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# 😐?? what is this for??

6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ def export_test_dir(test_dir):

@pytest.fixture(scope='session')
def settings():
from corpustools.gui.config import Settings
s = Settings()
from corpustools.gui.config import PCTSettings
s = PCTSettings()
s['sigfigs'] = 3
return Settings()
return PCTSettings()

@pytest.fixture(scope='module')
def spe_specifier():
Expand Down

0 comments on commit a3d2716

Please sign in to comment.