0

Fixing some settings stuff

This commit is contained in:
Andrew Chin
2012-01-02 00:03:10 -05:00
parent 42f6b7b6ad
commit 287b16fd13
8 changed files with 32 additions and 17 deletions

View File

@@ -14,6 +14,8 @@ class SettingsTest(unittest.TestCase):
s.validate()
things = s.get_render_things()
# no exceptions so far. that's good
self.assertEquals(things['world']['bgcolor'], (26,26,26))
def test_rendermode_validation(self):
s = configParser.MultiWorldParser("test/data/settings/settings_test_rendermode.py")
s.parse()