Arrange imports correctly.

This commit is contained in:
blackguest 2013-11-01 08:45:07 -05:00
parent 1c271487e1
commit d4a81f199d
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,10 @@
import os import os
import sys import sys
from nose.tools import assert_equals, assert_true, assert_false, assert_raises
from StringIO import StringIO from StringIO import StringIO
from mock import patch from mock import patch
from nose.tools import assert_equals, assert_true, assert_false, assert_raises
class TestCheatSheets(object): class TestCheatSheets(object):
@ -61,6 +62,7 @@ class TestCheatSheets(object):
clear_cheatfile = '-test-foobar' clear_cheatfile = '-test-foobar'
clear_cheatfile_path = os.path.join(self.cheatpath, clear_cheatfile) clear_cheatfile_path = os.path.join(self.cheatpath, clear_cheatfile)
assert_false(self.cheatsheets.is_vim_crypted(clear_cheatfile_path)) assert_false(self.cheatsheets.is_vim_crypted(clear_cheatfile_path))
# This file is "Vim Encrypted" with the pass phrase "passphrase". # This file is "Vim Encrypted" with the pass phrase "passphrase".
vimcrypted_cheatfile = '-test-vim_crypted' vimcrypted_cheatfile = '-test-vim_crypted'
vimcrypted_cheatfile_path = os.path.join( vimcrypted_cheatfile_path = os.path.join(