Skip to content

Commit

Permalink
fix singleton in monitor test
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Feb 4, 2024
1 parent 3399818 commit 4ad546b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/monitor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class MonitorFactoryTest(unittest.TestCase):
"Test class for MonitorFactory"

def setUp(self) -> None:
MonitorFactory._instance = None # pylint: disable=W0212
self.db_path = f"test-{uuid.uuid4()}.db"
_ = MonitorFactory.get_monitor(db_path=self.db_path)

Expand Down

0 comments on commit 4ad546b

Please sign in to comment.