gnucash maint: [python]Remove non-namespace "All non-currency" fom namespace test.

John Ralls jralls at code.gnucash.org
Fri Mar 25 18:20:24 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/7d94ade5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/109efe62 (commit)



commit 7d94ade599abee4ea90389bb7bdd57ae3734f825
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 25 13:35:31 2022 -0700

    [python]Remove non-namespace "All non-currency" fom namespace test.

diff --git a/bindings/python/tests/test_commodity.py b/bindings/python/tests/test_commodity.py
index 957751511..2f9a15bd8 100644
--- a/bindings/python/tests/test_commodity.py
+++ b/bindings/python/tests/test_commodity.py
@@ -21,12 +21,12 @@ class TestCommodityNamespace(CommoditySession):
         #print(self.table.__class__)
         namespace_names = self.table.get_namespaces()
         #print(namespace_names)
-        self.assertEqual(namespace_names, ['All non-currency', 'template', 'CURRENCY'])
+        self.assertEqual(namespace_names, ['template', 'CURRENCY'])
 
     def test_namespaces_list(self):
         namespaces = self.table.get_namespaces_list()
         namespace_names = [ns.get_name() for ns in namespaces]
-        self.assertEqual(namespace_names, ['All non-currency', 'template', 'CURRENCY'])
+        self.assertEqual(namespace_names, ['template', 'CURRENCY'])
 
 if __name__ == '__main__':
     main()



Summary of changes:
 bindings/python/tests/test_commodity.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list