Add 2 full tests for plugin + use env port for test

This commit is contained in:
2015-12-18 23:06:38 +05:30
parent c13240e857
commit 02f0a440a0
8 changed files with 128 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
pytest_plugins = "pytest_gui_status.status_plugin"
+6
View File
@@ -0,0 +1,6 @@
def test_pass():
assert 1
def test_fail():
assert 0
+1
View File
@@ -0,0 +1 @@
pytest_plugins = "pytest_gui_status.status_plugin"
+17
View File
@@ -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()