summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/hashserv/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/hashserv/tests.py')
-rw-r--r--bitbake/lib/hashserv/tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/hashserv/tests.py b/bitbake/lib/hashserv/tests.py
index 9d5bec2454..fc69acaf7c 100644
--- a/bitbake/lib/hashserv/tests.py
+++ b/bitbake/lib/hashserv/tests.py
@@ -776,6 +776,14 @@ class HashEquivalenceCommonTests(object):
776 self.assertIn("rows", usage[name]) 776 self.assertIn("rows", usage[name])
777 self.assertTrue(isinstance(usage[name]["rows"], int)) 777 self.assertTrue(isinstance(usage[name]["rows"], int))
778 778
779 def test_get_db_query_columns(self):
780 columns = self.client.get_db_query_columns()
781
782 self.assertTrue(isinstance(columns, list))
783 self.assertTrue(len(columns) > 0)
784
785 for col in columns:
786 self.client.remove({col: ""})
779 787
780class TestHashEquivalenceUnixServer(HashEquivalenceTestSetup, HashEquivalenceCommonTests, unittest.TestCase): 788class TestHashEquivalenceUnixServer(HashEquivalenceTestSetup, HashEquivalenceCommonTests, unittest.TestCase):
781 def get_server_addr(self, server_idx): 789 def get_server_addr(self, server_idx):