예제 #1
0
    def test_get_context_variables(self):
        state = State()

        state.update_context_variables({'PROJECT_NAME': 'foo'})

        self.assertEqual(state.get_context_variables(),
                         {'PROJECT_NAME': 'foo'})
예제 #2
0
파일: test_state.py 프로젝트: jackqu7/Facio
    def test_get_context_variables(self):
        state = State()

        state.update_context_variables({'PROJECT_NAME': 'foo'})

        self.assertEqual(state.get_context_variables(), {
            'PROJECT_NAME': 'foo'})
예제 #3
0
    def test_get_context_variables_empty(self):
        state = State()

        self.assertEqual(state.get_context_variables(), {})
예제 #4
0
파일: test_state.py 프로젝트: jackqu7/Facio
    def test_get_context_variables_empty(self):
        state = State()

        self.assertEqual(state.get_context_variables(), {})