From d84bef6221d9a37d66906370bd8488b967a81d5b Mon Sep 17 00:00:00 2001 From: Jordan <21129425+ItIsJordan@users.noreply.github.com> Date: Mon, 25 Mar 2024 08:25:11 +0000 Subject: [PATCH] Update test data Updates test data in TestTable.test_write_yaml to test missed lines. --- tests/test_table.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_table.py b/tests/test_table.py index 03f63555..38079d2e 100644 --- a/tests/test_table.py +++ b/tests/test_table.py @@ -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: