Beispiel #1
0
 def test_ccx_to_deprecated_string(self):
     """Verify that _from_deprecated_string raises NotImplemented"""
     testme = CCXLocator(org='org', course='course', run='run', ccx='1')
     with self.assertRaises(NotImplementedError):
         testme._to_deprecated_string()  # pylint: disable=protected-access
Beispiel #2
0
 def test_ccx_to_deprecated_string(self):
     """Verify that _from_deprecated_string raises NotImplemented"""
     testme = CCXLocator(org='org', course='course', run='run', ccx='1')
     with self.assertRaises(NotImplementedError):
         testme._to_deprecated_string()  # pylint: disable=protected-access