Skip to content

Commit

Permalink
Renamed Graylog into Driver
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Jan 5, 2024
1 parent 82bdbec commit 512bbf3
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 101 deletions.
10 changes: 5 additions & 5 deletions validation/end_to_end/test_end_to_end.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from pytest import fixture
from graylog.graylog import Graylog
from graylog.driver import Driver

from playwright.sync_api import Page, expect


@fixture(scope="function", autouse=True)
def before_each_after_each(page: Page):
graylog = Graylog('../../runtime')
graylog.start()
graylog.configure_telemetry()
subject = Driver('../../runtime')
subject.start()
subject.configure_telemetry()

page.goto('http://127.0.0.1:9000/')
# note: could also be: getByRole('textbox', { name: 'Username' })
Expand All @@ -17,7 +17,7 @@ def before_each_after_each(page: Page):
page.get_by_role('button', name='Sign in').click()

yield
graylog.stop()
subject.stop()

def test_plugin_logging_alert_should_be_registered_issue_50(page: Page):
page.get_by_role('button', name='System').click()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from graylog.server_timeout_error import ServerTimeoutError


class Graylog:
class Driver:

def __init__(self, docker_compose_path):
self._server = GraylogServer(docker_compose_path)
Expand Down
Loading

0 comments on commit 512bbf3

Please sign in to comment.