def setUp(self): self.runner = CliRunner() habito.commands.database_name = ":memory:" models.setup(habito.commands.database_name)
def setUp(self): models.setup(":memory:")
def cli(): """Habito - a simple command line habit tracker.""" if not path.exists(click.get_app_dir("habito")): mkdir(click.get_app_dir("habito")) models.setup(database_name)