<gh_stars>0
import unittest
import fmc

class DescriptionTestCase(unittest.TestCase):
    description = fmc.description("Test Description")

    def test_string_repr(self):
        '''Test Description Object String Representation'''
        representation = "<Description: Test Description>"

        self.assertEqual(
                representation,
                str(self.description)
                )

    def test_representation(self):
        '''Test Description Representation'''
        representation = {
                "Description": "Test Description"
                }

        self.assertDictEqual(
                representation,
                self.description.representation()
                )

if __name__ == "__main__":
    unittest.main()

import unittest
import fmc

class DescriptionTestCase(unittest.TestCase):
    description = fmc.description("Test Description")

    def test_string_repr(self):
        '''Test Description Object String Representation'''
        representation = "<Description: Test Description>"

        self.assertEqual(
                representation,
                str(self.description)
                )

    def test_representation(self):
        '''Test Description Representation'''
        representation = {
                "Description": "Test Description"
                }

        self.assertDictEqual(
                representation,
                self.description.representation()
                )

if __name__ == "__main__":
    unittest.main()
Test Description Object String Representation Test Description Representation