##// END OF EJS Templates
migration-tests: improved error reporting
marcink -
r1293:5d5d616f default
parent child Browse files
Show More
@@ -141,7 +141,9 b' class DBBackend(object):'
141 return self.stdout, self.stderr
141 return self.stdout, self.stderr
142
142
143 def assert_returncode_success(self):
143 def assert_returncode_success(self):
144 assert self.p.returncode == 0, self.stderr
144 if not self.p.returncode == 0:
145 print(self.stderr)
146 raise AssertionError('non 0 retcode:{}'.format(self.p.returncode))
145
147
146 def setup_rhodecode_db(self, ini_params=None, env=None):
148 def setup_rhodecode_db(self, ini_params=None, env=None):
147 if not ini_params:
149 if not ini_params:
General Comments 0
You need to be logged in to leave comments. Login now