def test_simple_parsing(self):
        options = core.Options(
            arguments.Argument('myarg'),
        )
        dummy_tokens = DummyTokens('myval')
        kwargs, blocks = options.parse(dummy_parser, dummy_tokens)
        self.assertEqual(blocks, {})
        self.assertEqual(len(kwargs), 1)
        dummy_context = {}
        self.assertEqual(kwargs['myarg'].resolve(dummy_context), 'myval')
ObserverTest: Test Observer Constructor
dataset/ETHPy150Open ojii/django-classy-tags/classytags/tests.py/ClassytagsTests.test_simple_parsing--crossover with--dataset/ETHPy150Open PureMVC/puremvc-python-standard-framework/tests/patterns/observer.py/ObserverTest.testObserverConstructor