Source: xrayutilities
Followup-For: Bug #1120471
X-Debbugs-Cc: Dominik Kriegner <[email protected]>
Control: tags -1 ftbfs

I think I see the problem. The test does indeed need more than 5
minutes.

The simpack_powdermodel.py example itself does pass. It takes 20
seconds or so.

The problem is that test_example is set up as a megatest looping over
all the examples in the scriptfiles list in the one tests.
There's around 35 of them in the tests, so if each one takes 20
seconds the test will need 20 minutes or so.

This sounds like a good case for using pytest fixtures. Supply the
scriptfiles list as a fixture and the same test will run over each of
the examples one by one, and we can see that the tests are proceeding
successfully.

Reply via email to