Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Mar 4, 2014
1 parent 59f0a22 commit 9fabfa1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions supervisor/tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_handle_request_no_view_method(self):
handler = self._makeOne()
data = handler.handle_request(request)
self.assertEqual(data, None)

def test_handle_request_default(self):
request = DummyRequest('/index.html', [], '', '',
{'PATH_INFO':'/index.html'})
Expand All @@ -100,7 +100,7 @@ def test_handle_request_index_html(self):
request = DummyRequest('/index.html', [], '', '',
{'PATH_INFO':'/index.html'})
handler = self._makeOne()
data = handler.handle_request(request)
handler.handle_request(request)
from supervisor.web import StatusView
view = request.channel.producer.callback
self.assertEqual(view.__class__, StatusView)
Expand All @@ -110,7 +110,7 @@ def test_handle_request_tail_html(self):
request = DummyRequest('/tail.html', [], '', '',
{'PATH_INFO':'/tail.html'})
handler = self._makeOne()
data = handler.handle_request(request)
handler.handle_request(request)
from supervisor.web import TailView
view = request.channel.producer.callback
self.assertEqual(view.__class__, TailView)
Expand All @@ -120,7 +120,7 @@ def test_handle_request_ok_html(self):
request = DummyRequest('/tail.html', [], '', '',
{'PATH_INFO':'/ok.html'})
handler = self._makeOne()
data = handler.handle_request(request)
handler.handle_request(request)
from supervisor.web import OKView
view = request.channel.producer.callback
self.assertEqual(view.__class__, OKView)
Expand Down

0 comments on commit 9fabfa1

Please sign in to comment.