mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
nixos/tests/nextcloud: use lib instead of pkgs.lib wherever trivial
This commit is contained in:
parent
2ce1e84103
commit
18de1c264e
5 changed files with 12 additions and 12 deletions
|
@ -8,10 +8,10 @@
|
|||
|
||||
with import ../../lib/testing-python.nix { inherit system pkgs; };
|
||||
runTest (
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
inherit name;
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
meta = with lib.maintainers; {
|
||||
maintainers = [
|
||||
eqyiel
|
||||
ma27
|
||||
|
@ -68,7 +68,7 @@ runTest (
|
|||
|
||||
test-helpers.extraTests = ''
|
||||
with subtest("notify-push"):
|
||||
client.execute("${pkgs.lib.getExe pkgs.nextcloud-notify_push.passthru.test_client} http://nextcloud ${config.adminuser} ${config.adminpass} >&2 &")
|
||||
client.execute("${lib.getExe pkgs.nextcloud-notify_push.passthru.test_client} http://nextcloud ${config.adminuser} ${config.adminpass} >&2 &")
|
||||
nextcloud.wait_until_succeeds("journalctl -u nextcloud-notify_push | grep -q \"Sending ping to ${config.adminuser}\"")
|
||||
|
||||
with subtest("Redis is used for caching"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue