Exemple #1
0
 def test_backwards_compat(self, *mocks):
     config = load_config(parser.parse_args(['-c', devnull, 'send', '']))
     self.assertIn('backends', config)
     self.assertEqual(config['backends'], ['foobar'])
Exemple #2
0
 def test_default_config(self, *mocks):
     config = load_config(parser.parse_args(['-c', devnull, 'send', '']))
     self.assertEqual(config, {'backends': ['default']})