def test_get_context_variable(self): state = State() state.update_context_variables({'PROJECT_NAME': 'foo'}) self.assertEqual(state.get_context_variable('PROJECT_NAME'), 'foo') self.assertNotEqual(state.get_context_variable('not_created'), 'foo')