Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d65f89

Browse files
committedDec 10, 2023
update postgres and remove unused imports
1 parent 56bb802 commit 8d65f89

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
 

‎docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
- "5005:80"
5252

5353
postgres:
54-
image: postgres:9.6
54+
image: postgres:16.1
5555
environment:
5656
- POSTGRES_USER=allocation
5757
- POSTGRES_PASSWORD=abc123

‎src/allocation/domain/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from dataclasses import dataclass
33
from datetime import date
44
from typing import Optional, List, Set
5-
from . import commands, events
5+
from . import events
66

77

88
class Product:

‎tests/integration/test_uow.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import time
44
import traceback
55
from typing import List
6-
from unittest.mock import Mock
76
import pytest
87
from allocation.domain import model
98
from allocation.service_layer import unit_of_work

0 commit comments

Comments
 (0)
Please sign in to comment.