Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslaukens committed Oct 17, 2018
1 parent e9d31e8 commit 01dc5fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions stacker/lookups/handlers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from __future__ import absolute_import
from __future__ import print_function
from __future__ import division


class LookupHandler(object):
@classmethod
def handle(cls, value, context, provider):
Expand Down
3 changes: 2 additions & 1 deletion stacker/tests/lookups/handlers/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def test_output_handler(self):
stack.set_outputs({
"SomeOutput": "Test Output"})
self.context.get_stack.return_value = stack
value = OutputLookup.handle("stack-name::SomeOutput", context=self.context)
value = OutputLookup.handle("stack-name::SomeOutput",
context=self.context)
self.assertEqual(value, "Test Output")
self.assertEqual(self.context.get_stack.call_count, 1)
args = self.context.get_stack.call_args
Expand Down

0 comments on commit 01dc5fd

Please sign in to comment.