test: add test for debugging pytest

This commit is contained in:
debugtalk
2020-05-22 14:47:12 +08:00
parent 41a188df3f
commit 21f34d0082
2 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ import io
import sys
import unittest
import pytest
from httprunner.cli import main
@@ -36,3 +38,6 @@ class TestCli(unittest.TestCase):
from httprunner import __description__
self.assertIn(__description__, self.captured_output.getvalue().strip())
def test_debug_pytest(self):
pytest.main(["-s", "examples/postman_echo/request_methods/request_with_variables_test.py"])