Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit bdd3a69

Browse files
authored
Merge pull request #263 from cloudant/248-add-method-to-test-db-name
248 some test not cleaning of databases
2 parents 2b6a125 + 7cd22a2 commit bdd3a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/unit_t_db_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def db_tear_down(self):
196196
del self.db
197197

198198
def dbname(self, database_name='db'):
199-
return '{0}-{1}'.format(database_name, unicode_(uuid.uuid4()))
199+
return '{0}-{1}-{2}'.format(database_name, self._testMethodName, unicode_(uuid.uuid4()))
200200

201201
def populate_db_with_documents(self, doc_count=100, **kwargs):
202202
off_set = kwargs.get('off_set', 0)

0 commit comments

Comments
 (0)