Exemplo n.º 1
0
 def test_eq(self):
     """Validate __eq__ is not implemented"""
     with self.assertRaises(NotImplementedError):
         PackageOrder() == PackageOrder()
Exemplo n.º 2
0
 def test_to_pod(self):
     """Validate to_pod is not implemented"""
     self.assertRaises(NotImplementedError, PackageOrder().to_pod)
Exemplo n.º 3
0
 def test_str(self):
     """Validate __str__ is not implemented"""
     with self.assertRaises(NotImplementedError):
         str(PackageOrder())
Exemplo n.º 4
0
 def test_reorder(self):
     """Validate reorder is not implemented"""
     with self.assertRaises(NotImplementedError):
         PackageOrder().reorder([])