# Path: crmsh/handles.py
# class value(object):
#     def __init__(self, obj, value):
#     def __call__(self):
#     def __repr__(self):
#     def __str__(self):
# def _join(d1, d2):
# def _resolve(path, context, strict):
# def _push(path, value, context):
# def _textify(obj):
# def _parse(template, context, strict):
# def parse(template, values, strict=False):


from crmsh import handles
from __future__ import unicode_literals
# Copyright (C) 2015 Kristoffer Gronlund <kgronlund@suse.com>
# See COPYING for license information.




def test_basic():
    t = """{{foo}}"""

# Path: crmsh/handles.py
# class value(object):
#     def __init__(self, obj, value):
#     def __call__(self):
#     def __repr__(self):
#     def __str__(self):
# def _join(d1, d2):
# def _resolve(path, context, strict):
# def _push(path, value, context):
# def _textify(obj):
# def _parse(template, context, strict):
# def parse(template, values, strict=False):


# Path: test/unittests/test_handles.py
from crmsh import handles

from __future__ import unicode_literals
# Copyright (C) 2015 Kristoffer Gronlund <kgronlund@suse.com>
# See COPYING for license information.




def test_basic():
    t = """{{foo}}"""

    assert "hello" == handles.parse(t, {'foo': 'hello'})