diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-03-20 16:38:41 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-03-20 16:38:41 -0700 |
commit | 08b5173cf445e373426cc98e247251515dfee912 (patch) | |
tree | 674c236a3ee8bd08125376a49b1162a8f1881044 /tests | |
parent | 8431c10e0d459d905d246de8f7e3e369b2dda663 (diff) | |
download | pystache-08b5173cf445e373426cc98e247251515dfee912.tar.gz |
Renamed custom_template.Loader.get_template() to custom_template.Loader.load().
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_custom_template.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_custom_template.py b/tests/test_custom_template.py index 6f21058..5db4c79 100644 --- a/tests/test_custom_template.py +++ b/tests/test_custom_template.py @@ -236,9 +236,9 @@ class LoaderTests(unittest.TestCase, AssertIsMixin): self.assertEquals(actual, expected) - def _assert_get_template(self, view, expected): + def _assert_get_template(self, custom, expected): locator = self._make_locator() - actual = locator.get_template(view) + actual = locator.load(custom) self.assertEquals(type(actual), unicode) self.assertEquals(actual, expected) |