Functional test should not require a config file

Instead of getting the queries directory from the config file, just hard
code the default path inside this repo.

Change-Id: Ia7a860b8b81b1b9b3f1628ef1214480754f6711a
This commit is contained in:
Joe Gordon 2015-03-24 07:31:46 -07:00
parent b810fe854e
commit 7726a837db
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class TestQueries(tests.TestCase):
super(TestQueries, self).setUp()
config = ConfigParser.ConfigParser({'server_password': None})
config.read('elasticRecheck.conf')
self.queries = config.get('gerrit', 'query_file')
self.queries = 'queries'
self.classifier = elasticRecheck.Classifier(self.queries)
self.lp = launchpad.Launchpad.login_anonymously('grabbing bugs',
'production',