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

Fix test_collection.py when it fails early

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0
    • Component/s: Tests

      Description

      [INFO]      [exec] _____ ERROR at teardown of TestCollection.test_collection_synchronization _____
      [INFO]      [exec] self = <tests.test_collection.TestCollection testMethod=test_collection_synchronization>
      [INFO]      [exec]     def tearDown(self):
      [INFO]      [exec] >       self.remote_document_client_1.delete(self.collection["uid"], use_trash=False)
      [INFO]      [exec] E       AttributeError: 'TestCollection' object has no attribute 'collection'
      [INFO]      [exec] __class__  = <class 'tests.test_collection.TestCollection'>
      [INFO]      [exec] self       = <tests.test_collection.TestCollection testMethod=test_collection_synchronization>
      [INFO]      [exec] tests\test_collection.py:7: AttributeError
      

        Attachments

          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 - 10 minutes
                10m