From 6c737fb0ae8d069302d410a35879257a4f2afc79 Mon Sep 17 00:00:00 2001 From: Elena Duranova Date: Thu, 21 Nov 2024 10:25:36 -0800 Subject: [PATCH] TIP-3804 Fix databaseResultsRestricted related tests (#1416) --- src/python/test/test_dxpy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/test/test_dxpy.py b/src/python/test/test_dxpy.py index ea7ed268e..0de57f1f6 100755 --- a/src/python/test/test_dxpy.py +++ b/src/python/test/test_dxpy.py @@ -139,7 +139,7 @@ def test_new(self): self.assertEqual(desc["databaseUIViewOnly"], False) self.assertEqual(desc["externalUploadRestricted"], False) self.assertEqual(desc["tags"], []) - self.assertTrue("databaseResultsRestricted" not in desc) + self.assertEqual(desc["databaseResultsRestricted"], None) prop = dxpy.api.project_describe(dxproject.get_id(), {'fields': {'properties': True}}) self.assertEqual(prop['properties'], {}) @@ -213,7 +213,7 @@ def test_update_describe(self): self.assertEqual(desc["restricted"], False) self.assertEqual(desc["downloadRestricted"], False) self.assertTrue("allowedExecutables" not in desc) - self.assertTrue("databaseResultsRestricted" not in desc) + self.assertEqual(desc["databaseResultsRestricted"], None) def test_new_list_remove_folders(self): dxproject = dxpy.DXProject()