blob: d083d13a636824fd6245645b07b08d1196d44adb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env python3
# Copyright (C) 2019 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
import pytest
from gerrit import GerritStreamEvents
@pytest.mark.asyncio
async def test_list_projects(event_loop):
g = GerritStreamEvents()
list = await g.list_all_projects()
assert 'qt/qtbase' in list
assert 'qt/qt5' in list
|