Skip to content

Commit

Permalink
Forgot we needed DB state
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Feb 5, 2024
1 parent 5196397 commit a024322
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/background_unit_test/test_background_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Tests our ability to serialize/deserialize the background settings.
"""

from librarian_background.settings import BackgroundSettings

def test_background_settings_full(test_server):
from librarian_background.settings import BackgroundSettings

def test_background_settings_full():
BackgroundSettings.model_validate(
{
"check_integrity": [
Expand All @@ -29,5 +29,7 @@ def test_background_settings_full():
)


def test_background_settings_empty():
def test_background_settings_empty(test_server):
from librarian_background.settings import BackgroundSettings

BackgroundSettings()

0 comments on commit a024322

Please sign in to comment.