Skip to content

Commit

Permalink
fixes import
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Oct 22, 2024
1 parent 0836126 commit 7aa4473
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ services:
retries: 5

db:
image: postgres:16
image: postgres:14
environment:
- POSTGRES_USER=hcw
- POSTGRES_PASSWORD=password
- POSTGRES_DB=country_workspace
volumes:
- postgres_data:/var/lib/postgresql/data/
- postgres_data14:/var/lib/postgresql14/data/
# ports:
# - 5432:5432
restart: always
Expand Down Expand Up @@ -87,4 +87,4 @@ services:
command: beat

volumes:
postgres_data:
postgres_data14:
7 changes: 1 addition & 6 deletions tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import vcr
from vcr.record_mode import RecordMode

from country_workspace.sync.office import sync_all, sync_lookups, sync_offices, sync_programs
from country_workspace.sync.office import sync_all, sync_offices, sync_programs


def scrub_string(response):
Expand Down Expand Up @@ -54,8 +54,3 @@ def test_sync_programs():
office = Office.objects.first()
with my_vcr.use_cassette(Path(__file__).parent / "sync_office.yaml"):
assert sync_programs(office)


def test_sync_lookup(force_migrated_records):
with my_vcr.use_cassette(Path(__file__).parent / "sync_lookups.yaml"):
assert sync_lookups()

0 comments on commit 7aa4473

Please sign in to comment.