Author: andrej Date: Thu Feb 7 16:36:39 2013 New Revision: 1443597 URL: http://svn.apache.org/viewvc?rev=1443597&view=rev Log: refactor tests of Bloodhound Search
Added: incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/ incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/__init__.py incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/milestone_search.py - copied unchanged from r1443529, incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/milestone_search.py incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/ticket_search.py - copied unchanged from r1443531, incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/ticket_search.py incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/wiki_search.py - copied unchanged from r1443531, incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/wiki_search.py Removed: incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/milestone_search.py incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/ticket_search.py incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/wiki_search.py Modified: incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py Modified: incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py?rev=1443597&r1=1443596&r2=1443597&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py (original) +++ incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py Thu Feb 7 16:36:39 2013 @@ -18,8 +18,10 @@ # specific language governing permissions and limitations # under the License. import unittest -from bhsearch.tests import whoosh_backend, index_with_whoosh, web_ui, \ - ticket_search, api, wiki_search +from bhsearch.tests import (whoosh_backend, index_with_whoosh, web_ui, + api) +from bhsearch.tests.search_resources import (ticket_search, wiki_search, + milestone_search) def suite(): suite = unittest.TestSuite() @@ -29,6 +31,7 @@ def suite(): suite.addTest(api.suite()) suite.addTest(ticket_search.suite()) suite.addTest(wiki_search.suite()) + suite.addTest(milestone_search.suite()) return suite if __name__ == '__main__': Added: incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/__init__.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/__init__.py?rev=1443597&view=auto ============================================================================== --- incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/__init__.py (added) +++ incubator/bloodhound/trunk/bloodhound_search/bhsearch/tests/search_resources/__init__.py Thu Feb 7 16:36:39 2013 @@ -0,0 +1,20 @@ +#!/usr/bin/env python +# -*- coding: UTF-8 -*- + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +