Skip to content

Commit

Permalink
More verbose variables names
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Jan 27, 2018
1 parent e6ffd10 commit eca8efe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def setUp(self):
self.template = '${lastname}; ${prename}'
self.values = {'prename': 'Franz', 'lastname': 'Schubert'}

t = tmep.Template(self.template)
f = tmep.Functions(self.values)
self.out = t.substitute(self.values, f.functions)
template = tmep.Template(self.template)
functions = tmep.Functions(self.values)
self.out = template.substitute(self.values, functions.functions)

def test_values(self):
self.assertEqual(self.out, 'Schubert; Franz')
Expand Down

0 comments on commit eca8efe

Please sign in to comment.