Skip to content

Commit

Permalink
TST: test for fixing pycalphadgh-425
Browse files Browse the repository at this point in the history
  • Loading branch information
richardotis committed Aug 7, 2022
1 parent 9744e9e commit eb03ffd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pycalphad/tests/test_database.py
Expand Up @@ -860,4 +860,8 @@ def test_database_symmetry_options_are_generated(load_database):
# The parameters should be filtered out when when writing such that a
# read/write is a no-op
read_dbf = Database.from_string(dbf.to_string(fmt="tdb"), fmt="tdb")
assert len(read_dbf._parameters) == 375
assert len(read_dbf._parameters) == 375

def test_dat_ambiguous_compound_names():
"Compound names in DAT files are case sensitive (gh-425)"
Database.from_file(files(pycalphad.tests.databases).joinpath("issue425.dat"), fmt='dat')

0 comments on commit eb03ffd

Please sign in to comment.