Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnnsrs committed Aug 2, 2023
1 parent 47cec9f commit db56786
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docker-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ jobs:
- name: Install Qt because Qt sucks with Poetry
run: poetry run pip install pyqt5
- name: Run Tests
env:
QT_DEBUG_PLUGINS: 1
DISPLAY: ":99.0"
run: poetry run pytest --cov --cov-report=xml -k "not integration"
linux_integration:
strategy:
Expand Down
8 changes: 1 addition & 7 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
from urllib.robotparser import RequestRate
from urllib.robotparser import RequestRate
from testcontainers.compose import DockerCompose
import pytest
from rath import Rath
from rath.links.aiohttp import AIOHttpLink
from .integration.utils import wait_for_http_response
from .utils import build_relative
from functools import cached_property
import subprocess


class DockerV2Compose(DockerCompose):
@cached_property
@property
def docker_cmd_comment(self):
"""Returns the base docker command by testing the docker compose api
Expand Down Expand Up @@ -55,7 +52,6 @@ def integration_link():
@pytest.mark.integration
@pytest.fixture(scope="session")
def environment():

with DockerV2Compose(
filepath=build_relative("integration"),
compose_file_name="docker-compose.yaml",
Expand All @@ -66,10 +62,8 @@ def environment():

@pytest.mark.integration
def test_connection_x(environment, integration_link):

rath = Rath(link=integration_link)
with rath:

answer = rath.query(
"""query {
miniModels {
Expand Down

0 comments on commit db56786

Please sign in to comment.