You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* test: update test to sort the same way as code
The `_simple_detail()` function has sorted the results by version, then
filename, so update test conditions to sort similarly as well.
Exposed with:
--randomly-seed=105155306
--randomly-seed=1843708888
--randomly-seed=19699634
Signed-off-by: Mike Fiedler <[email protected]>
* test: actually assert things
Signed-off-by: Mike Fiedler <[email protected]>
* test: use a paginated page in test
Other tests paginating expect a page-like object instead of the list of
items, so supply one.
Exposed via:
--randomly-seed=3227833760
--randomly-seed=235656747
Signed-off-by: Mike Fiedler <[email protected]>
* test: remove db-controlled sequence from factory
When using `factory.Sequence()` for a database-controlled sequence
column, we can get into a weird state where we're reusing the sequence
since we've flushed already.
Since we already rely on the database to generate the ID for us, we
don't have to supply it ourselves as part of the factory. If we ever
*do* want to set a specific id for a JournalEntry, we would use a
keyword argument like `JournalEntryFactory.create(id=...)`
Exposed via:
--randomly-seed=2329742959
Signed-off-by: Mike Fiedler <[email protected]>
---------
Signed-off-by: Mike Fiedler <[email protected]>
0 commit comments