debian/tests/imports
raw| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | echo "Testing Python imports..." |
| 5 | |
| 6 | python3 -c ' |
| 7 | import barman |
| 8 | print("barman version:", barman.__version__) |
| 9 | |
| 10 | import barman.config |
| 11 | import barman.server |
| 12 | import barman.backup_executor |
| 13 | import barman.recovery_executor |
| 14 | import barman.clients.walarchive |
| 15 | import barman.clients.walrestore |
| 16 | |
| 17 | print("All imports successful.") |
| 18 | ' |