Simple Class Attribute

Write a simple class Cookie that contains two class attributes:

  • DEFAULT_SCARF_COLOR: must be 'Green' by default
  • DEFAULT_BUTTON_COLOR: must be 'Blue' by default
import unittest


class ClassAttrTestCase(unittest.TestCase):

    def test_attributes(self):
        self.assertEqual(Cookie.DEFAULT_SCARF_COLOR, 'Green')
        self.assertEqual(Cookie.DEFAULT_BUTTON_COLOR, 'Blue')