mirror of
https://github.com/bendtherules/pytest_gui_status.git
synced 2026-08-18 13:42:26 +00:00
Add 2 full tests for plugin + use env port for test
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pytest_plugins = "pytest_gui_status.status_plugin"
|
||||
@@ -0,0 +1,6 @@
|
||||
def test_pass():
|
||||
assert 1
|
||||
|
||||
|
||||
def test_fail():
|
||||
assert 0
|
||||
@@ -0,0 +1 @@
|
||||
pytest_plugins = "pytest_gui_status.status_plugin"
|
||||
@@ -0,0 +1,17 @@
|
||||
import pytest
|
||||
|
||||
|
||||
def test_pass_1():
|
||||
assert 1
|
||||
|
||||
|
||||
def test_fail_1():
|
||||
assert 0
|
||||
|
||||
|
||||
def test_fail_2():
|
||||
assert 0
|
||||
|
||||
|
||||
def test_skip_1():
|
||||
pytest.skip()
|
||||
Reference in New Issue
Block a user