aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-05 15:19:49 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commit4a3b8a0bbd7365eb56a77f6cb6252aaf799d5ecc (patch)
tree5d3f57f9b6aa228caeb5e56367951794e451bddc /wqflask
parent0fca58cb5145ef08b735bf6f0692fa142edb3595 (diff)
downloadgenenetwork2-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.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_show_trait.py6
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,