python-swiftclient/.unittests
Tim Burke 1eda8f9f3e Rename "tests" directory to be "test" like in the swift repo
In addition to being less confusing for devs, this lets us actually run
tempauth tests in swiftclient dsvm jobs.

The job definition (over in the swift repo) specifies test/sample.conf,
which does not exist in this repo. As a result, those tests would skip
with

    SKIPPING FUNCTIONAL TESTS DUE TO NO CONFIG

Change-Id: I558dbf9a657d442e6e19468e543bbec855129eeb
2019-11-06 03:48:02 +00:00

9 lines
131 B
Bash
Executable File

#!/bin/bash
set -e
python setup.py testr --coverage --testr-args="test.unit"
RET=$?
coverage report -m
rm -f .coverage
exit $RET