Esempio n. 1
0
 def test_changing_course(self):
     lib_key = LibraryLocator(org="TestX", library="test")
     with self.assertRaises(AttributeError):
         lib_key.course = "PHYS"
     with self.assertRaises(KeyError):
         lib_key.replace(course="PHYS")
Esempio n. 2
0
 def test_changing_course(self):
     lib_key = LibraryLocator(org="TestX", library="test")
     with self.assertRaises(AttributeError):
         lib_key.course = "PHYS"
     with self.assertRaises(KeyError):
         lib_key.replace(course="PHYS")