Remove duplicate test
This commit is contained in:
@@ -1,14 +1,8 @@
|
|||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
from sqlalchemy_utils import escape_like
|
|
||||||
from tests import TestCase
|
from tests import TestCase
|
||||||
from sqlalchemy_utils.functions import non_indexed_foreign_keys
|
from sqlalchemy_utils.functions import non_indexed_foreign_keys
|
||||||
|
|
||||||
|
|
||||||
class TestEscapeLike(TestCase):
|
|
||||||
def test_escapes_wildcards(self):
|
|
||||||
assert escape_like('_*%') == '*_***%'
|
|
||||||
|
|
||||||
|
|
||||||
class TestFindNonIndexedForeignKeys(TestCase):
|
class TestFindNonIndexedForeignKeys(TestCase):
|
||||||
def create_models(self):
|
def create_models(self):
|
||||||
class User(self.Base):
|
class User(self.Base):
|
||||||
@@ -53,4 +47,3 @@ class TestFindNonIndexedForeignKeys(TestCase):
|
|||||||
]
|
]
|
||||||
assert 'category_id' in column_names
|
assert 'category_id' in column_names
|
||||||
assert 'author_id' not in column_names
|
assert 'author_id' not in column_names
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user