--- a/skeleton/test/realdb_test_CUBENAME.py Sun Aug 31 18:04:46 2014 +0200
+++ b/skeleton/test/realdb_test_CUBENAME.py Fri Feb 06 14:43:40 2015 +0100
@@ -13,14 +13,15 @@
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
-# You should have received a copy of the GNU Lesser General Public License along
-# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Lesser General Public License
+# along with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""
"""
from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.devtools.realdbtest import buildconfig, loadconfig
+
def setUpModule(options):
if options.source:
configcls = loadconfig(options.source)
@@ -28,13 +29,13 @@
raise Exception('either <sourcefile> or <dbname> options are required')
else:
configcls = buildconfig(options.dbuser, options.dbpassword,
- options.dbname, options.euser,
- options.epassword)
+ options.dbname,
+ options.euser, options.epassword)
RealDatabaseTC.configcls = configcls
class RealDatabaseTC(CubicWebTC):
- configcls = None # set by setUpModule()
+ configcls = None # set by setUpModule()
def test_all_primaries(self):
for rset in self.iter_individual_rsets(limit=50):