Skip to content

Commit

Permalink
Bump DB version to v2021.11.10 (#430)
Browse files Browse the repository at this point in the history
* Bump db version

* Temp xfail on db version test
  • Loading branch information
munrojm committed Nov 10, 2021
1 parent 113557a commit 54217e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp_api/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MAPISettings(BaseSettings):
description="Directory with test files",
)

DB_VERSION: str = Field("2021_prerelease", description="Database version")
DB_VERSION: str = Field("2021.11.10", description="Database version")

DB_NAME_SUFFIX: str = Field(None, description="Database name suffix")

Expand Down
1 change: 1 addition & 0 deletions tests/test_mprester.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def test_get_structure_by_material_id(self, mpr):
with pytest.warns(UserWarning):
mpr.get_structure_by_material_id("mp-698856")

@pytest.mark.xfail(reason="Until deployment")
def test_get_database_version(self, mpr):
db_version = mpr.get_database_version()
assert db_version == MAPISettings().DB_VERSION
Expand Down

0 comments on commit 54217e2

Please sign in to comment.