annotate tests/test_include.txt @ 98:d59f0425d705 default tip

version bump
author Jeff Hammel <k0scist@gmail.com>
date Mon, 27 May 2024 16:20:52 -0700
parents 29ca60f428cc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
86
2c315267390b STUB: tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 Test IniFactory
2c315267390b STUB: tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 ===============
2c315267390b STUB: tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3
87
29ca60f428cc STUB: tests/test.py tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents: 86
diff changeset
4 Let's test file inclusion. First a simple example without it for comparison::
86
2c315267390b STUB: tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5
2c315267390b STUB: tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6 >>> import os
87
29ca60f428cc STUB: tests/test.py tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents: 86
diff changeset
7 >>> from pyloader.factory import IniFactory
29ca60f428cc STUB: tests/test.py tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents: 86
diff changeset
8 >>> inifile = os.path.join(here, 'test.ini')
29ca60f428cc STUB: tests/test.py tests/test_include.txt
Jeff Hammel <k0scist@gmail.com>
parents: 86
diff changeset
9 >>> inifactory = IniFactory(inifile)