Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtests are not showing view button / details of the subtest in the html report #80

Open
sheikhfaizanahmed opened this issue Jan 31, 2021 · 0 comments

Comments

@sheikhfaizanahmed
Copy link

  • HtmlTestRunner version: 1.2.1
  • Python version: 3.9
  • Operating System: Windows 10

Description

I am using unittest with html test runner - when i execute a subtest - i can see the results (pass/fail) but i cannot see the view button / details of the subtest.

What I Did

This is how i am executing a subtest - am loading data from json
def test_2_Check(self):

    for x in path5_data:
        with self.subTest(msg = x["name"]):
            result = playground_obj.path5(x["path"],
                                          x["barcode"],
                                          x["ce"],
                                          x["dl"],
                                          x["art"],
                                          x["rts"],
                                          x["other"],
                                          x["zip"])
            print('test')
            if result[0] == False:
                assert False, result[1]
            else:
                pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant