Skip to content

Commit

Permalink
Remove printing of database info.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCurtis committed Jan 28, 2024
1 parent a743032 commit 1aeca49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fk_graph/plotly_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def _get_test_graph() -> nx.Graph:
from fk_graph.data_setup import setup_data
from fk_graph.graph import get_graph
from sqlalchemy import create_engine
engine = create_engine("sqlite+pysqlite:///:memory:", echo=False)
engine = create_engine("sqlite+pysqlite:///:memory:")
setup_data(engine)
G = get_graph(engine, 'table_a', 1)
return G
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class DataSetupTests(TestCase):

def setUp(self):
self.engine = create_engine("sqlite+pysqlite:///:memory:", echo=True)
self.engine = create_engine("sqlite+pysqlite:///:memory:")

def test_runs(self):
setup_data(self.engine)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_intergration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from fk_graph.data_setup import setup_data
from fk_graph.plot_graph import plot

engine = create_engine("sqlite+pysqlite:///:memory:", echo=True)
engine = create_engine("sqlite+pysqlite:///:memory:")

class DataSetupTests(TestCase):
def test_integration(self):
Expand Down

0 comments on commit 1aeca49

Please sign in to comment.