コード例 #1
0
 def test_ReturnsGetEmailListConfig(self, settings_mock):
     settings_mock.command = self.command_config_mock
     api_command_config = ApiCommandConfig()
     command_params = api_command_config.get_email_list_params()
     self.assertEqual(command_params, 'GET EMAIL LIST TEST')
コード例 #2
0
 def test_ReturnsRevokeConfig(self, settings_mock):
     settings_mock.command = self.command_config_mock
     api_command_config = ApiCommandConfig()
     command_params = api_command_config.get_revoke_params()
     self.assertEqual(command_params, 'REVOKE TEST')
コード例 #3
0
 def test_ReturnsGetInfoConfig(self, settings_mock):
     settings_mock.command = self.command_config_mock
     api_command_config = ApiCommandConfig()
     command_params = api_command_config.get_getinfo_params()
     self.assertEqual(command_params, 'GET INFO TEST')
コード例 #4
0
 def test_ReturnsRetryDcvConfig(self, settings_mock):
     settings_mock.command = self.command_config_mock
     api_command_config = ApiCommandConfig()
     command_params = api_command_config.get_retry_dcv_params()
     self.assertEqual(command_params, 'RETRY DCV TEST')
コード例 #5
0
 def test_ReturnsActivateConfig(self, settings_mock):
     settings_mock.command = self.command_config_mock
     api_command_config = ApiCommandConfig()
     command_params = api_command_config.get_activate_params()
     self.assertEqual(command_params, 'ACTIVATE TEST')