def METHOD_NAME(self):
    args = Namespace()
    args.name = 'test'
    args.environments = ['system', 'master']
    for environment in args.environments:
        Path(self.dir, environment).mkdir()
    migrator.main.create(args)
    for environment in args.environments:
        found_files = 0
        for entry in Path(self.dir, environment).iterdir():
            with entry.open() as open_file:
                self.assertTrue(len(open_file.read()) > 0)
            found_files += 1
        self.assertEqual(1, found_files)
    regex = r"""Created migration: master\/[0-9]{14}_test.py