1. Ronny Pfannschmidt
  2. pytest-couchdbkit

Commits

Ronny Pfannschmidt  committed ad6500a

compact replication source db after pushing if it exists

  • Participants
  • Parent commits f89cf6f
  • Branches default

Comments (0)

Files changed (1)

File pytest_couchdbkit/__init__.py

View file
         session.config.hook.pytest_couchdbkit_push_app(
                 server=server,
                 dbname=dbname)
+        if dbname in server:
+            server[dbname].compact()
 
 def pytest_funcarg__couchdb_server(request):
     return server_from_config(request.config)