Added a script to run the existing unit tests.

Change-Id: I34b8423663a95729dad85f7041f3bd183f0a9914
This commit is contained in:
Richard (Rick) Hawkins 2013-12-06 10:07:12 -06:00
parent 1a8fe4ca76
commit 32f84c747b
2 changed files with 21 additions and 0 deletions

18
run_tests.sh Executable file
View File

@ -0,0 +1,18 @@
#!/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 cloudcafe
flake8 metatests
python -m unittest discover -t . -s ./metatests

3
test-requirements.txt Normal file
View File

@ -0,0 +1,3 @@
unittest2
mock
flake8