Exemplo n.º 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
Exemplo n.º 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