def test51():
    class SkipemNS(NamespaceModel):
        with_variables(Var("ONE", "1"),
                       Var("TWO", "2"),
                       Var("THREE", "!{ONE}+!{TWO}", in_env=False))
        r = Role("me", host_ref="127.0.0.1")
    ns = SkipemNS()
    
    class SkipConfig(ConfigModel):
        t = NullTask("env-test", task_role=SkipemNS.r)
        
    cfg = SkipConfig()
    cfg.set_namespace(ns)
    
    assert cfg.t.task_variables() in "THREE" and "THREE" not in cfg.t.task_variables(for_env=True)
dataset/ETHPy150Open haxsaw/actuator/src/tests/config_tests.py/test51/swapped operands of `in`