← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1706980] Re: Npm tests are hardcoded against python2.7

 

Reviewed:  https://review.openstack.org/487862
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0dc5a8230e86495df7fb153913929425be500f38
Submitter: Jenkins
Branch:    master

commit 0dc5a8230e86495df7fb153913929425be500f38
Author: Pascal Boutin <pboutin@xxxxxxxxxxxx>
Date:   Thu Jul 27 10:01:33 2017 -0400

    Makes the xstatic files lookup dynamic in the tests
    
    This change makes it so the tests will look for the actual
    python folder where the xstatic files are located instead
    of looking only for a python2.7/ folder.
    
    Change-Id: Ib2a56475b79b002085922ab752038239635fb9a5
    Closes-bug: #1706980


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1706980

Title:
  Npm tests are hardcoded against python2.7

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When I run the tests on my machine, it fails saying that angular is
  not defined. I saw that I had all the xtstatic files under python3.4/
  while the tests tries to resolve them from python2.7/.

  This comes from the 2 karma.conf files since the python2.7 path is
  hardcoded there.

  It should be more flexible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1706980/+subscriptions


References