Skip to content

Commit

Permalink
reset datebase any before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
filipmacek committed Apr 25, 2024
1 parent 28c411a commit 1e2ee86
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def setup(self):
os.environ["POSTGRES_PASSWORD"] = "pass"
os.environ["POSTGRES_DATABASE"] = "nautilus"
self.database: CachePostgresAdapter = CachePostgresAdapter()
# reset database
self.database.flush()
self.clock = TestClock()

self.trader_id = TestIdStubs.trader_id()
Expand Down

0 comments on commit 1e2ee86

Please sign in to comment.