I
I
Ivan Parshin2017-09-26 17:07:37
Python
Ivan Parshin, 2017-09-26 17:07:37

Why doesn't pytest see modules with tests in the build on teamCity?

Tests are spinning in the assembly on teamCity, run by the command:
py.test -m 'not long_tests' -s -v --teamcity --alluredir my-allure-report %gui_keys% from the tests directory, the
main problem:
Judging by the generated allure-report some modules with tests fell off in the assembly (I know how py.test collects tests, there are no problems with the name)
The number of tests passed, judging by the assemblies, is always different.
Can anyone suggest what could be related?
PS As for reporting generation, I didn't touch it; fall off there vryatli something can. Completion of the assembly occurs at the same time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-10-01
@sanya84

So ?

def f():
  class f():

    def __init__(self):
      pass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question