Skip to content

Two classes doesn't show two tests in the report #23

Description

@karthikeayan
import time
import unittest
from apiritif import http, transaction

target = http.target('https://jsonplaceholder.typicode.com')
target.keep_alive(True)
target.auto_assert_ok(False)
target.use_cookies(True)

class TestRequests2(unittest.TestCase):
    def test_1_single_request(self):
        target.get('/')    

class TestRequests(unittest.TestCase):
    # will produce test-case sample with one sub-sample
    def test_1_single_request(self):
        target.get('/')

Expected : TestRequests and TestRequests2 in the report
Actual : Everything goes inside TestRequests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions