Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
not7cd committed Jan 2, 2025
1 parent 5e3beab commit cdc23a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from unittest import TestCase

from whois.app import WhoIs
from whois.app import WhohacksApp
from whois.data.db.database import Database
from whois.settings.testing import app_settings, mikrotik_settings

Expand All @@ -21,7 +21,7 @@ def setUp(self):
self.db = Database("sqlite:///whohacks.test.sqlite")
self.db.drop()
self.db.create_db()
self.whois = WhoIs(app_settings, mikrotik_settings, self.db, self.logger)
self.whois = WhohacksApp(app_settings, mikrotik_settings, self.db, self.logger)
self.app = self.whois.app.test_client()
self.app.testing = True

Expand Down

0 comments on commit cdc23a6

Please sign in to comment.