コード例 #1
0
 def test_loading_no_existing_conf_file(self):
     action = get_single_pillow_action('foo')
     self.assertIsNone(action)
コード例 #2
0
ファイル: test_pillowtop.py プロジェクト: ekush/commcare-hq
 def test_loading_no_existing_conf_file(self):
     action = get_single_pillow_action('foo')
     self.assertIsNone(action)
コード例 #3
0
    def test_loading_existing_conf_file(self):

        expected_action = {'include_groups': ['mvp_indicators']}

        action = get_single_pillow_action('staging')
        self.assertEqual(action.to_json(), expected_action)
コード例 #4
0
ファイル: test_pillowtop.py プロジェクト: ekush/commcare-hq
    def test_loading_existing_conf_file(self):

        expected_action = {'include_groups': ['mvp_indicators']}

        action = get_single_pillow_action('staging')
        self.assertEqual(action.to_json(), expected_action)