Mercurial > hgrepos > Python > libs > ConfigMix
view tests/_test_context.py @ 648:e8f3e970e411
__len__() for jails also now internally expands: this is for consistency with __bool__ when applyint to non-container jails (which are possible)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 13 May 2022 07:51:40 +0200 |
| parents | 75ecbe07abff |
| children |
line wrap: on
line source
# -*- coding: utf-8 -*- r"""Automatic unittest context configuration """ import sys import os sys.path.insert( 0, os.path.abspath( os.path.normpath(os.path.join(os.path.dirname(__file__), "..")))) TESTDATADIR = os.path.join( os.path.abspath(os.path.dirname(__file__)), "data")
