

def test_get_project_base(self):
    config = alembic_config.Config()
    config.set_main_option('script_location', 'a.b.c:d')
    proj_base = cli._get_project_base(config)
    self.assertEqual('a', proj_base)

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