"""Allow you to run tests in an isolated container for an app or a lib

Usage:
  tests create_image <app_or_lib_name> [--recreate]

Options:
  --recreate  ensures that the testing image will be recreated

"""

from docopt import docopt

from ..commands.test import test_app_or_lib

def main(argv):
    args = docopt(__doc__, argv)
    test_app_or_lib(args['<app_or_lib_name>'], force_recreate=args['--recreate'])

"""Allow you to run tests in an isolated container for an app or a lib

Usage:
  tests create_image <app_or_lib_name> [--recreate]

Options:
  --recreate  ensures that the testing image will be recreated

"""

from docopt import docopt

from ..commands.tests import test_app_or_lib

def main(argv):
    args = docopt(__doc__, argv)
    test_app_or_lib(args['<app_or_lib_name>'], force_recreate=args['--recreate'])

fix import