diff options
author | Munyoki Kilyungi | 2022-09-05 15:19:49 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | 4a3b8a0bbd7365eb56a77f6cb6252aaf799d5ecc (patch) | |
tree | 5d3f57f9b6aa228caeb5e56367951794e451bddc | |
parent | 0fca58cb5145ef08b735bf6f0692fa142edb3595 (diff) | |
download | genenetwork2-4a3b8a0bbd7365eb56a77f6cb6252aaf799d5ecc.tar.gz |
Adjust expected table width
* wqflask/tests/wqflask/show_trait/test_show_trait.py
(TestTraits.test_get_table_widths): Use new values for the table width
to make the tests pass.
-rw-r--r-- | wqflask/tests/wqflask/show_trait/test_show_trait.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py index 909e2f37..5f4598f5 100644 --- a/wqflask/tests/wqflask/show_trait/test_show_trait.py +++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py @@ -102,9 +102,9 @@ class TestTraits(unittest.TestCase): results_one_sample = get_table_widths( [TraitObject({"se_exists": True, "attributes": []})], True) - expected_with_numcase = (450, "750px") - expected_no_numcase = (450, "670px") - expected_one_sample = (250, "540px") + expected_with_numcase = (450, 645) + expected_no_numcase = (450, 644) + expected_one_sample = (250, 381) self.assertEqual(results_with_numcase, expected_with_numcase) self.assertEqual(result_no_numcase, expected_no_numcase) self.assertEqual(results_one_sample, |