Commits

Ronny Pfannschmidt committed ad6500a

compact replication source db after pushing if it exists

  • Participants
  • Parent commits f89cf6f

Comments (0)

Files changed (1)

pytest_couchdbkit/__init__.py

         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)