Skip to content

Commit

Permalink
test: Fix running check-realms standalone
Browse files Browse the repository at this point in the history
`parent` needs to be imported first, before `packagelib`. Otherwise it
fails with

```
test/verify/check-realms TestRealms.testIpa
Traceback (most recent call last):
  File "test/verify/check-realms", line 24, in <module>
    import packagelib
  File "/home/martin/upstream/c2/test/verify/packagelib.py", line 23, in <module>
    from testlib import *
ModuleNotFoundError: No module named 'testlib'
```

Regression introduced in commit  3f04aeb.
  • Loading branch information
martinpitt authored and larskarlitski committed Nov 30, 2018
1 parent 01993b9 commit e94d9e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/verify/check-realms
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
import re
import time

import packagelib
import parent

import packagelib
from testlib import *


Expand Down

0 comments on commit e94d9e4

Please sign in to comment.