Example #1
0
    def test_repr_(self):
        result = tethys_permission.Permission(
            name=self.name, description=self.description).__repr__()

        # Check Result
        self.assertEqual(self.check_string, result)
Example #2
0
 def test_init(self):
     result = tethys_permission.Permission(name=self.name,
                                           description=self.description)
     self.assertEqual(self.name, result.name)
     self.assertEqual(self.description, result.description)