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()