Skip to content

Commit

Permalink
Merge pull request #53 from Kezzsim/fix_ci_test_versions
Browse files Browse the repository at this point in the history
Bump python versions in CI tests
  • Loading branch information
danielballan authored Mar 29, 2024
2 parents 487bf76 + 5217103 commit e098c48
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- 27017:27017
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: ["3.9", "3.10", "3.11"]
fail-fast: false
steps:

Expand Down
19 changes: 14 additions & 5 deletions suitcase/mongo_normalized/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,21 @@ def test_index_creation(db_factory):
assert indexes["resource_1"]

indexes = metadatastore_db.run_start.index_information()
assert len(indexes.keys()) == 6
assert len(indexes.keys()) == 10
for index_name in [
'_id_',
'uid_1',
'scan_id_1',
'scan_id_-1__id_-1',
'time_1__id_-1',
'time_-1__id_-1',
'time_-1_scan_id_-1',
'$**_text',
'data_session_1',
'data_groups_1',
]:
assert index_name in indexes
assert indexes["uid_1"]["unique"]
assert indexes["time_-1_scan_id_-1"]
assert indexes["$**_text"]
assert indexes["data_session_1"]
assert indexes["data_groups_1"]

indexes = metadatastore_db.run_stop.index_information()
assert len(indexes.keys()) == 5
Expand Down

0 comments on commit e098c48

Please sign in to comment.