Skip to content

Commit

Permalink
Update test data
Browse files Browse the repository at this point in the history
Updates test data in TestTable.test_write_yaml to test missed lines.
  • Loading branch information
ItIsJordan committed Mar 25, 2024
1 parent d75d2c0 commit d84bef6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ def test_write_yaml(self):
test_table = Table("Some Table")
test_variable = Variable("Some Variable")
test_table.add_variable(test_variable)
test_table.add_related_doi("10.17182/hepdata.1.v1/t1")
test_table.add_data_license(
name="data_license",
url="test_url"
)
test_table.keywords = {"name": "keywords", "values": "1"}
testdir = tmp_directory_name()
self.addCleanup(shutil.rmtree, testdir)
try:
Expand Down

0 comments on commit d84bef6

Please sign in to comment.