repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git]
/
nixos
/
tests
/
komga.nix
blob
02db50ef25f7256ce645cd78282110031b6e56f8
1
import ./make-test-python.nix ({ lib, ... }:
2
3
with lib;
4
5
{
6
name = "komga";
7
meta.maintainers = with maintainers; [ govanify ];
8
9
nodes.machine =
10
{ pkgs, ... }:
11
{ services.komga = {
12
enable = true;
13
port = 1234;
14
};
15
};
16
17
testScript = ''
18
machine.wait_for_unit("komga.service")
19
machine.wait_for_open_port(1234)
20
machine.succeed("curl --fail http://localhost:1234/")
21
'';
22
})