summaryrefslogtreecommitdiff
path: root/test/test_dockerpy/README.md
blob: 32e426d58b4b5c0a298335be5a92d5890064f7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Dockerpy regression test

Python test suite to validate Podman endpoints using dockerpy library

Running tests
=============
To run the tests locally in your sandbox:

#### Run the entire test

```
sudo PYTHONPATH=/usr/bin/python python -m dockerpy.images
```

Passing the -v option to your test script will instruct unittest.main() to enable a higher level of verbosity, and produce detailed output:

```
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images
```
#### Run a specific test class

```
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages
```

#### Run a specific test within the test class

```
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages.test_list_images
```