Use double quotes
This commit is contained in:
parent
7b32ffc599
commit
ea8f1a13e3
2 changed files with 2464 additions and 2466 deletions
|
|
@ -26,7 +26,7 @@ class AdHocOrderFactory(alchemy.SQLAlchemyModelFactory):
|
|||
|
||||
class Meta:
|
||||
model = db.Order
|
||||
sqlalchemy_get_or_create = ('id',)
|
||||
sqlalchemy_get_or_create = ("id",)
|
||||
|
||||
class Params:
|
||||
"""Define flags that overwrite some attributes.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class ReplayedOrderFactory(alchemy.SQLAlchemyModelFactory):
|
|||
|
||||
class Meta:
|
||||
model = db.ReplayedOrder
|
||||
sqlalchemy_get_or_create = ('simulation_id', 'order_id')
|
||||
sqlalchemy_get_or_create = ("simulation_id", "order_id")
|
||||
|
||||
# Generic columns
|
||||
# simulation -> set by the `make_replay_order` fixture for better control
|
||||
|
|
|
|||
Loading…
Reference in a new issue