12 lines
357 B
Python
12 lines
357 B
Python
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)
|