1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

tests: Create /etc/NetworkManager/system-connections/ in advance

This commit is contained in:
Lauri Võsandi 2017-05-04 06:47:53 +00:00
parent 505fa9d557
commit 47d518e250

View File

@ -21,6 +21,7 @@ script:
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1' - sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo chmod 777 . # Allow forked processes to write .coverage files - sudo chmod 777 . # Allow forked processes to write .coverage files
- sudo mkdir /etc/NetworkManager/system-connections/ # Allow config file creation without having NM installed
- sudo coverage run --parallel-mode --source certidude -m py.test tests - sudo coverage run --parallel-mode --source certidude -m py.test tests
- sudo coverage combine - sudo coverage combine
- sudo coverage report - sudo coverage report