Skip to content

Commit

Permalink
refactor: divert globals from anyconfig.tests.api in anyconfig.tests.cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Oct 20, 2015
1 parent 8644fce commit c506bd1
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions anyconfig/tests/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,14 @@
import anyconfig.api
import anyconfig.template
import anyconfig.tests.common
import anyconfig.tests.api

from anyconfig.tests.common import CNF_0


CNF_0_PATH = os.path.join(anyconfig.tests.common.selfdir(), "00-cnf.yml")
SCM_0_PATH = os.path.join(anyconfig.tests.common.selfdir(), "00-scm.yml")
CNF_TMPL_0 = """name: {{ name }}
a: {{ a }}
b:
b:
{% for x in b.b -%}
- {{ x }}
{% endfor %}
c: {{ b.c }}
"""
CNF_TMPL_0 = anyconfig.tests.api.CNF_TMPL_1


def _run(*args):
Expand Down

0 comments on commit c506bd1

Please sign in to comment.