'Test a simple get parent for a direct only category (i.e, always published)'

@ddt.data((ModuleStoreEnum.Type.mongo, 1, 0), (ModuleStoreEnum.Type.split, 2, 0))
@ddt.unpack
def test_get_parent_locations(self, default_ms, max_find, max_send):

    self.initdb(default_ms)
    self._create_block_hierarchy()
    with check_mongo_calls(max_find, max_send):
        parent = self.store.get_parent_location(self.problem_x1a_1)
        self.assertEqual(parent, self.vertical_x1a)
