f8bca5fc564b

tests: clean up unused imports
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 19 Jun 2010 13:32:56 -0400
parents 3de7cde04f0b
children fe2edf9c9098
branches/tags (none)
files review/tests/test_comment.py review/tests/test_delete.py review/tests/test_init.py review/tests/test_signoff.py

Changes

--- a/review/tests/test_comment.py	Sat Jun 19 02:25:49 2010 -0400
+++ b/review/tests/test_comment.py	Sat Jun 19 13:32:56 2010 -0400
@@ -3,7 +3,6 @@
 from .. import api, messages
 
 import os
-from mercurial import util as hgutil
 from mercurial.node import hex
 
 # TODO: Figure out how to handle external editors nicely with nose.
--- a/review/tests/test_delete.py	Sat Jun 19 02:25:49 2010 -0400
+++ b/review/tests/test_delete.py	Sat Jun 19 13:32:56 2010 -0400
@@ -1,8 +1,7 @@
 from nose import *
 from util import *
-from .. import api, messages
+from .. import messages
 
-from mercurial import util as hgutil
 
 a1, a2 = (messages.REVIEW_LOG_COMMENT_AUTHOR % '|').split('|')
 s1, s2 = (messages.REVIEW_LOG_SIGNOFF_AUTHOR % ('|', 'neutral')).split('|')
--- a/review/tests/test_init.py	Sat Jun 19 02:25:49 2010 -0400
+++ b/review/tests/test_init.py	Sat Jun 19 13:32:56 2010 -0400
@@ -5,7 +5,6 @@
 from .. import api
 
 import os
-from mercurial import util as hgutil
 
 @with_setup(setup_sandbox, teardown_sandbox)
 def test_init():
--- a/review/tests/test_signoff.py	Sat Jun 19 02:25:49 2010 -0400
+++ b/review/tests/test_signoff.py	Sat Jun 19 13:32:56 2010 -0400
@@ -1,6 +1,5 @@
 from nose import *
 from util import *
-from mercurial import util as hgutil
 from mercurial.node import hex
 from .. import messages