modular-services: make configdata test use assertFileContent
Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
parent
f77079ee8a
commit
db468b4822
2 changed files with 3 additions and 2 deletions
2
tests/modules/services-modular/config.toml
Normal file
2
tests/modules/services-modular/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[server]
|
||||
port = 1234
|
||||
|
|
@ -9,7 +9,6 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/system-services/demo/config.toml
|
||||
assertFileContains home-files/.config/system-services/demo/config.toml 'port = 1234'
|
||||
assertFileContent home-files/.config/home-services/demo/config.toml ${./config.toml}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue