From 63bb6b28c99c8ed56bae5dca2996ad985079e414 Mon Sep 17 00:00:00 2001 From: Joe Mancuso Date: Fri, 5 Feb 2021 23:39:23 -0500 Subject: [PATCH] removed prints --- src/masoniteorm/connections/SQLiteConnection.py | 2 -- tests/mysql/schema/test_mysql_schema_builder.py | 2 -- tests/postgres/schema/test_postgres_schema_builder.py | 1 - tests/sqlite/schema/test_sqlite_schema_builder.py | 1 - 4 files changed, 6 deletions(-) diff --git a/src/masoniteorm/connections/SQLiteConnection.py b/src/masoniteorm/connections/SQLiteConnection.py index 12f05499..bdff3bc1 100644 --- a/src/masoniteorm/connections/SQLiteConnection.py +++ b/src/masoniteorm/connections/SQLiteConnection.py @@ -133,8 +133,6 @@ def query(self, query, bindings, results="*", fetch_many=False): if not self.open: self.make_connection() - print(query) - try: self._cursor = self._connection.cursor() diff --git a/tests/mysql/schema/test_mysql_schema_builder.py b/tests/mysql/schema/test_mysql_schema_builder.py index 340bb5f7..080e5504 100644 --- a/tests/mysql/schema/test_mysql_schema_builder.py +++ b/tests/mysql/schema/test_mysql_schema_builder.py @@ -75,7 +75,6 @@ def test_can_advanced_table_creation(self): blueprint.timestamps() self.assertEqual(len(blueprint.table.added_columns), 13) - print(blueprint.to_sql()) self.assertEqual( blueprint.to_sql(), ( @@ -93,7 +92,6 @@ def test_can_add_primary_constraint_without_column_name(self): blueprint.string("name") blueprint.string("email") self.assertEqual(len(blueprint.table.added_columns), 3) - print(blueprint.to_sql()) self.assertTrue( blueprint.to_sql().startswith( "CREATE TABLE `users` (`user_id` INT(11) NOT NULL PRIMARY KEY" diff --git a/tests/postgres/schema/test_postgres_schema_builder.py b/tests/postgres/schema/test_postgres_schema_builder.py index 3997621d..987d1956 100644 --- a/tests/postgres/schema/test_postgres_schema_builder.py +++ b/tests/postgres/schema/test_postgres_schema_builder.py @@ -129,7 +129,6 @@ def test_can_advanced_table_creation2(self): blueprint.timestamps() self.assertEqual(len(blueprint.table.added_columns), 16) - print(blueprint.to_sql()) self.assertEqual( blueprint.to_sql(), ( diff --git a/tests/sqlite/schema/test_sqlite_schema_builder.py b/tests/sqlite/schema/test_sqlite_schema_builder.py index 30d3440b..931599e7 100644 --- a/tests/sqlite/schema/test_sqlite_schema_builder.py +++ b/tests/sqlite/schema/test_sqlite_schema_builder.py @@ -115,7 +115,6 @@ def test_can_advanced_table_creation2(self): self.assertEqual(len(blueprint.table.added_columns), 14) - print(blueprint.to_sql()) self.assertEqual( blueprint.to_sql(), (