Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-389

Update GridFS classes to have the necessary attributes

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: None
    • Component/s: None
    • None

      ======================================================================
      FAIL: test_gridin_attrs (tornado_tests.test_motor_core.MotorCoreTestGridFS)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/testing.py", line 125, in __call__
          result = self.orig_method(*args, **kwargs)
        File "/Users/pmital/Developer/motor/test/tornado_tests/test_motor_core.py", line 166, in test_gridin_attrs
          attrs(MotorGridIn(self.cx.test.fs)) - motor_gridin_only)
      AssertionError: Items in the first set but not the second:
      'writeable'
      'read'
      'readable'
      'seekable'
      
      ======================================================================
      FAIL: test_gridout_attrs (tornado_tests.test_motor_core.MotorCoreTestGridFS)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/testing.py", line 125, in __call__
          result = self.orig_method(*args, **kwargs)
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/testing.py", line 550, in post_coroutine
          timeout=timeout)
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/ioloop.py", line 576, in run_sync
          return future_cell[0].result()
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/concurrent.py", line 261, in result
          raise_exc_info(self._exc_info)
        File "/Users/pmital/Developer/python-virtualenvs/.managed_environments/motor_cp27/lib/python2.7/site-packages/tornado/gen.py", line 1147, in run
          yielded = self.gen.send(value)
        File "/Users/pmital/Developer/motor/test/tornado_tests/test_motor_core.py", line 179, in test_gridout_attrs
          attrs(motor_gridout) - motor_gridout_only)
      AssertionError: Items in the first set but not the second:
      'write'
      'seekable'
      'readable'
      

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: