Bump hacking to 0.9.x series
Change-Id: I15d40d9996104039fc4df9fd66080465daed41d2
This commit is contained in:
@@ -187,11 +187,11 @@ def discover_files():
|
||||
for root, dirs, filenames in os.walk('.'):
|
||||
for filename in filenames:
|
||||
if (filename.endswith('.sh') or
|
||||
# functions and rc files
|
||||
re.search('(^functions|rc$)', filename) or
|
||||
# grenade upgrade scripts
|
||||
re.search('^(prep|stop|upgrade)-', filename)):
|
||||
files.add(os.path.join(root, filename))
|
||||
# functions and rc files
|
||||
re.search('(^functions|rc$)', filename) or
|
||||
# grenade upgrade scripts
|
||||
re.search('^(prep|stop|upgrade)-', filename)):
|
||||
files.add(os.path.join(root, filename))
|
||||
|
||||
# devstack specifics (everything in lib that isn't md)
|
||||
for root, dirs, filenames in os.walk('lib'):
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
# Licensed 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.
|
||||
|
||||
@@ -20,7 +20,6 @@ Tests for `bashate` module.
|
||||
import mock
|
||||
|
||||
from bashate import bashate
|
||||
|
||||
from bashate.tests import base
|
||||
|
||||
|
||||
@@ -72,8 +71,7 @@ class TestBashateSamples(base.TestCase):
|
||||
for call in self.m_log_error.call_args_list:
|
||||
# unwrap args
|
||||
args = call[0]
|
||||
if (args[0].startswith(error) and
|
||||
lineno == args[3]):
|
||||
if (args[0].startswith(error) and lineno == args[3]):
|
||||
error_found = True
|
||||
if not error_found:
|
||||
self.fail('Error %s expected at line %d not found!' %
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
hacking>=0.5.6,<0.8
|
||||
hacking>=0.9.2,<0.10
|
||||
mock>=1.0
|
||||
|
||||
coverage>=3.6
|
||||
@@ -9,4 +9,4 @@ sphinx>=1.1.2
|
||||
oslosphinx
|
||||
testrepository>=0.0.17
|
||||
testscenarios>=0.4,<0.5
|
||||
testtools>=0.9.32
|
||||
testtools>=0.9.32
|
||||
|
||||
Reference in New Issue
Block a user