Skip to content

Commit

Permalink
nixos/tests/peertube: add check peertube cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Izorkin committed Mar 9, 2022
1 parent b9c5e1e commit a822d0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/tests/web-apps/peertube.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ import ../make-test-python.nix ({pkgs, ...}:
# Check if PeerTube is running
client.succeed("curl --fail http://peertube.local:9000/api/v1/config/about | jq -r '.instance.name' | grep 'PeerTube\ Test\ Server'")
# Check PeerTube CLI version
assert "${pkgs.peertube.version}" in server.succeed('su - peertube -s /bin/sh -c "peertube --version"')
client.shutdown()
server.shutdown()
database.shutdown()
Expand Down

0 comments on commit a822d0c

Please sign in to comment.