summaryrefslogtreecommitdiff
path: root/tests/loader/__init__.py
blob: 3cd5c3ec943f3c36a7df0dd20602c65c76808c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from buildstream._options import OptionPool


#
# This is used by the loader test modules, these should
# be removed in favor of testing the functionality via
# the CLI like in the frontend tests anyway.
#
def make_options(basedir):
    options = OptionPool(basedir)
    options.resolve()
    return options