Skip to content

Commit 70dfc0e

Browse files
committed
altered test_search to use internal_rally_targets for creds
1 parent f4b75f0 commit 70dfc0e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/test_search.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22

33
import sys, os
44
import types
5-
import urllib
65
import py
76

87
from pyral import Rally
98
import pyral
109

1110
InvalidRallyTypeNameError = pyral.entity.InvalidRallyTypeNameError
12-
from pyral.query_builder import RallyUrlBuilder, RallyQueryFormatter
1311

1412
##################################################################################################
1513

16-
from rally_targets import AGICEN, AGICEN_USER, AGICEN_PSWD
17-
from rally_targets import DEFAULT_WORKSPACE, NON_DEFAULT_PROJECT
14+
from internal_rally_targets import APIKEY, WORKSPACE, PROJECT
1815

1916
##################################################################################################
2017

@@ -23,7 +20,7 @@ def test_basic_search():
2320
Using a known valid Rally server and known valid access credentials,
2421
issue a simple search query (basic qualifying criteria).
2522
"""
26-
rally = Rally(server=AGICEN, user=AGICEN_USER, password=AGICEN_PSWD)
23+
rally = Rally(apikey=APIKEY, workspace=WORKSPACE, project=PROJECT)
2724
#
2825
#expectedErrMsg = u'The new search functionality is not turned on for your subscription'
2926
#

0 commit comments

Comments
 (0)