Skip to content

Commit

Permalink
Mark ddblocal on integration tests (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordal committed Jan 29, 2023
1 parent 93da1a8 commit 6677633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_discriminator_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

class TestDiscriminatorIndex:

@pytest.mark.ddblocal
def test_create_table(self, ddb_url):
class ParentModel(Model, discriminator='Parent'):
class Meta:
Expand Down Expand Up @@ -65,6 +66,7 @@ class ChildModel2(ParentModel, discriminator='Child2'):
model = next(ChildModel2.child_index.query('baz'))
assert isinstance(model, ChildModel2)

@pytest.mark.ddblocal
def test_create_table__incompatible_indexes(self, ddb_url):
class ParentModel(Model, discriminator='Parent'):
class Meta:
Expand Down

0 comments on commit 6677633

Please sign in to comment.