diff options
| author | drebs <drebs@leap.se> | 2013-02-12 19:32:20 -0200 | 
|---|---|---|
| committer | drebs <drebs@leap.se> | 2013-02-12 19:32:20 -0200 | 
| commit | b1d9f9e97d7e10f037dcb658658274e262418a5c (patch) | |
| tree | 2979235f154e70044732058fbb76006f9079a644 | |
| parent | 0133b65a287d007382d96bdc15b83068e681e4ef (diff) | |
PEP8.
| -rw-r--r-- | tests/test_sqlcipher.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_sqlcipher.py b/tests/test_sqlcipher.py index ee9b38dd..4c0451b3 100644 --- a/tests/test_sqlcipher.py +++ b/tests/test_sqlcipher.py @@ -126,7 +126,7 @@ load_tests = tests.load_with_scenarios  #-----------------------------------------------------------------------------  class TestSQLCipherDatabase(test_sqlite_backend.TestSQLiteDatabase): -     +      def test_atomic_initialize(self):          tmpdir = self.createTempDir()          dbname = os.path.join(tmpdir, 'atomic.db') @@ -139,7 +139,8 @@ class TestSQLCipherDatabase(test_sqlite_backend.TestSQLiteDatabase):              def __init__(self, dbname, ntry):                  self._try = ntry                  self._is_initialized_invocations = 0 -                super(SQLCipherDatabaseTesting, self).__init__(dbname, PASSWORD) +                super(SQLCipherDatabaseTesting, self).__init__(dbname, +                                                               PASSWORD)              def _is_initialized(self, c):                  res = super(SQLCipherDatabaseTesting, self)._is_initialized(c) @@ -239,7 +240,7 @@ class TestSQLCipherPartialExpandDatabase(              document_factory=TestAlternativeDocument)          doc = db2.create_doc({})          self.assertTrue(isinstance(doc, LeapDocument)) -         +      def test__open_database_non_existent(self):          temp_dir = self.createTempDir(prefix='u1db-test-')          path = temp_dir + '/non-existent.sqlite' @@ -292,7 +293,6 @@ class TestSQLCipherPartialExpandDatabase(                            SQLiteDatabaseTesting._open_database, path1,                            PASSWORD) -      def test_open_database_existing(self):          temp_dir = self.createTempDir(prefix='u1db-test-')          path = temp_dir + '/existing.sqlite'  | 
