Added a script to run the existing unit tests.
Change-Id: I12d15ff1793b54d1a843cd20d71d1387cf87f6eb
This commit is contained in:
parent
e40390915c
commit
bab59f68ed
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@ develop-eggs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
test-reporting-results*
|
||||
.coverage
|
||||
.tox
|
||||
|
||||
|
17
run_tests.sh
Executable file
17
run_tests.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2013 Rackspace
|
||||
#
|
||||
# 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.
|
||||
|
||||
flake8 cafe
|
||||
python -m unittest discover -t cafe -s cafe/tests
|
3
test-requirements.txt
Normal file
3
test-requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
unittest2
|
||||
mock
|
||||
flake8
|
Loading…
x
Reference in New Issue
Block a user