

def test_get_root_versions_dir(self):
    config = alembic_config.Config()
    config.set_main_option('script_location', 'a.b.c:d')
    versions_dir = cli._get_root_versions_dir(config)
    self.assertEqual('/fake/dir/a/a/b/c/d/versions', versions_dir)

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_migration.py TestCli.test_get_root_versions_dir/original