Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2555

Use a temporary folder for database storage in engine_dao fixture

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.1.0
    • Component/s: Tests

      Description

      The test_engine_dao.py and other tests using the engine_dao fixture are polluting the repository:

      $ git status
      ?? tests/resources/databases/01f90b9e-e3f5-4181-b0b6-55a0bb9eb6e8.db
      ?? tests/resources/databases/0452caba-0cba-4469-9d3b-d12a8a90c330.db
      ?? tests/resources/databases/09069bb6-ea0c-49cc-9444-7a436a10dcec.db
      ?? tests/resources/databases/0f0e36ae-2fa1-4505-8455-3fa8088b64dc.db
      ?? tests/resources/databases/1148960f-e8f0-4390-9151-39bedf3d8533.db
      ?? tests/resources/databases/14ed41b1-7dc4-4f9d-b0a9-b8f429219702.db
      ?? tests/resources/databases/19d972cc-ac61-4e16-9745-87c57000bb08.db
      ?? tests/resources/databases/1d5bc621-a74d-40a5-9408-7ff17d62143a.db
      ?? tests/resources/databases/27292f19-30c6-43fd-9cf9-c64caa2e3d84.db
      ?? tests/resources/databases/2a2822b4-d59e-4f5e-ac10-e1aa28eee273.db
      ?? tests/resources/databases/3602663b-5b23-4809-931d-df5ac619b096.db
      ?? tests/resources/databases/36d247e3-e820-4d20-8d49-ccbda7f660ca.db
      ?? tests/resources/databases/43a20566-ce56-4809-9a4b-08c1c57354ab.db
      ?? tests/resources/databases/47dba39f-ad88-47fa-aca1-12d4eb46d3f2.db
      ?? tests/resources/databases/492ec26a-2065-46c2-8a3c-d52214bd3641.db
      ?? tests/resources/databases/4fcb9686-fbf9-418f-9c1a-7adf2d03b461.db
      ?? tests/resources/databases/5236514b-9b97-4fc1-875c-92e000c44446.db
      ?? tests/resources/databases/56e2b753-a9ee-44b0-8442-4b4f73fe2c0d.db
      ?? tests/resources/databases/5c148bfe-d2e0-4cd2-9f44-6d5b7657976e.db
      ?? tests/resources/databases/6684d0c9-2112-41c0-bd2c-f4927bb5d823.db
      ?? tests/resources/databases/69b2ee9d-90fa-4f3e-85e1-1b5df8825032.db
      ?? tests/resources/databases/7063820e-e7fb-4a1c-bd47-db3d5d8124b8.db
      ?? tests/resources/databases/74c3ff51-5122-4a2c-b7ae-fb06793983e8.db
      ?? tests/resources/databases/86e3a593-00b3-4eff-b75e-365d5052dee8.db
      ?? tests/resources/databases/8b33f69b-4b96-4c2f-bd91-abf5e1306fb5.db
      ?? tests/resources/databases/8bf6d059-e21b-4e17-9441-e63bb85a66ea.db
      ?? tests/resources/databases/939b60b6-2a10-4b06-a925-f4c9df729cb4.db
      ?? tests/resources/databases/965c1812-de53-403a-a6e4-8ddf9de10bc3.db
      ?? tests/resources/databases/9bbe369f-d48e-4754-8af6-e4e98e50fbec.db
      ?? tests/resources/databases/a0998d5d-36a5-4f1f-9a3d-40447d0f4318.db
      ?? tests/resources/databases/a33d293f-387b-4e55-a4f3-7da6089e4915.db
      ?? tests/resources/databases/a40ae7ee-dd0d-433d-904d-76c7ce4fdb78.db
      ?? tests/resources/databases/af07a1a8-6508-4fee-bd83-daaf769bf365.db
      ?? tests/resources/databases/bff7cdbe-8506-4e83-8ea9-a275bb5bea58.db
      ?? tests/resources/databases/c98f155e-b75f-4576-bb0a-04f39bb3d7ae.db
      ?? tests/resources/databases/caa2a154-88a7-449c-83ce-2bae2af3b8a9.db
      ?? tests/resources/databases/db8a055c-f327-4aec-b370-caf74d080196.db
      ?? tests/resources/databases/df635e8e-bda2-4230-b144-6b6d65f796e6.db
      ?? tests/resources/databases/e4ea253b-9649-4cdd-a346-e6c56818ea72.db
      ?? tests/resources/databases/e816df4b-49c1-4bc4-8a62-e5cc5ed23f14.db
      ?? tests/resources/databases/f9902a76-a1cd-455d-967b-fe9e5249e593.db
      ?? tests/resources/databases/fb96d06f-b733-4daa-96f9-5382639fce73.db
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m