1
0
Fork 0
mirror of synced 2024-11-17 22:15:35 -05:00
dotbot/test/test_config.py

13 lines
357 B
Python
Raw Normal View History

import os
from utils import DotbotTestCase
class ConfigTestCase(DotbotTestCase):
def test_blank_config_allowed(self):
""" blank config allowed """
self.run_dotbot(config='[]')
def test_empty_config_not_allowed(self):
""" empty config disallowed """
self.assertRaises(SystemExit, self.run_dotbot, skip_config=True)