예제 #1
0
 def setUp(self):
     self.runner = CliRunner()
     habito.commands.database_name = ":memory:"
     models.setup(habito.commands.database_name)
예제 #2
0
 def setUp(self):
     models.setup(":memory:")
예제 #3
0
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)
예제 #4
0
 def setUp(self):
     models.setup(":memory:")