mirror of https://github.com/cheat/cheat.git
Arrange imports correctly.
This commit is contained in:
parent
1c271487e1
commit
d4a81f199d
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue