@@ -0,0 +1,837 @@
+from app import PROJECT_ROOT%0Afrom simfile import SMParser%0A%0Aimport logging%0Aimport os%0Aimport unittest%0A%0Aclass SimfileTestCase(unittest.TestCase):%0A%0A    def test_no_simfile_errors(self):%0A        errors = %5B%5D%0A%0A        simfiles_location = PROJECT_ROOT + '/simfiles'%0A        simfiles = os.listdir(simfiles_location)%0A%0A        logging.info('Processing %7B%7D simfiles...'.format(len(simfiles)))%0A        for sim in simfiles:%0A            try:%0A                SMParser(open(simfiles_location + '/' + sim).read()).analyze(%0A                    'Single', 'Hard', preferred_rate=570, speed_change_threshold=1)%0A            except Exception as e:%0A                errors.append(%22error in %7B%7D: %7B%7D: %7B%7D%22.format(sim, e.__class__.__name__, e.message))%0A                logging.error(errors%5B-1%5D)%0A%0A        assert len(errors) == 0, %22there were one or more simfile errors%22%0A

add simfile test