Skip to content

Commit 6677633

Browse files
authored
Mark ddblocal on integration tests (pynamodb#1158)
1 parent 93da1a8 commit 6677633

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/test_discriminator_index.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
class TestDiscriminatorIndex:
1616

17+
@pytest.mark.ddblocal
1718
def test_create_table(self, ddb_url):
1819
class ParentModel(Model, discriminator='Parent'):
1920
class Meta:
@@ -65,6 +66,7 @@ class ChildModel2(ParentModel, discriminator='Child2'):
6566
model = next(ChildModel2.child_index.query('baz'))
6667
assert isinstance(model, ChildModel2)
6768

69+
@pytest.mark.ddblocal
6870
def test_create_table__incompatible_indexes(self, ddb_url):
6971
class ParentModel(Model, discriminator='Parent'):
7072
class Meta:

0 commit comments

Comments
 (0)