From 07c72de1840bfc7e8ce7ab57b369af9f4a6c675c Mon Sep 17 00:00:00 2001 From: Nicholas Car Date: Tue, 29 Dec 2020 11:39:40 +1000 Subject: remove test using a FOAF deprecated prop all FOAF properties are now in the ClosedNamespace, whether deprecated or not --- test/test_namespace.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test_namespace.py b/test/test_namespace.py index 2706467f..8d4f7fd6 100644 --- a/test/test_namespace.py +++ b/test/test_namespace.py @@ -101,13 +101,10 @@ class NamespacePrefixTest(unittest.TestCase): def add_not_in_namespace(s): return FOAF[s] - # a blatantly non-existent FOAF property + # a non-existent FOAF property self.assertRaises(KeyError, add_not_in_namespace, "blah") - # a deprecated FOAF property - self.assertRaises(KeyError, add_not_in_namespace, "firstName") - - # a property name within the core FOAF namespace + # a property name within the FOAF namespace self.assertEqual( add_not_in_namespace("givenName"), URIRef("http://xmlns.com/foaf/0.1/givenName"), -- cgit v1.2.1