Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-976

gce_test fails with multiple failures.

    XMLWordPrintableJSON

Details

    Description

      I have done a fix in

              libcloud/compute/drivers/gce.py

      To test that, I have done some changes in

              libcloud/test/compute/test_gce.py

       

      As per documentation, When I run below test command

      PYTHONPATH=. python libcloud/test/compute/test_gce.py

      I am getting multiple AttributeError failures for GCEMockHttp object.

      As a setup part, I provided my secrets in libcloud/test/secrets.py.

          Modified GCE_PARAMS and GCE_KEYWORD_PARAMS.

       

      I have tried to run the test without any of my changes on trunk branch.

      I still get same issue. Please find attached output file for details.

       

      Note: When I run any other test, It works fine.

      $ PYTHONPATH=. python libcloud/test/compute/test_ecs.py
      .........................................................
      ----------------------------------------------------------------------
      Ran 57 tests in 0.791s

      OK
      $

       

      This is a blocker for me to merge the PR without a test.

      Attachments

        1. test_gce.out
          190 kB
          Rahul Paigavan

        Activity

          People

            Unassigned Unassigned
            Rahul-CSI Rahul Paigavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: