mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
fix docs; revert tests
- https://github.com/chatmail/relay/pull/614#discussion_r2297774600
This commit is contained in:
@@ -23,13 +23,7 @@ class TestCmdline:
|
||||
|
||||
def test_init_not_overwrite(self, capsys):
|
||||
assert main(["init", "chat.example.org"]) == 0
|
||||
out, err = capsys.readouterr()
|
||||
assert "created config file" in out.lower()
|
||||
|
||||
assert main(["init", "chat.example.org"]) == 0
|
||||
capsys.readouterr()
|
||||
assert main(["init", "chat.example.org"]) == 1
|
||||
out, err = capsys.readouterr()
|
||||
assert "path exists" in out.lower()
|
||||
|
||||
assert main(["init", "chat.example.org", "--force"]) == 0
|
||||
out, err = capsys.readouterr()
|
||||
assert "deleting config file" in out.lower()
|
||||
|
||||
@@ -84,7 +84,7 @@ Mandatory variables for deployment via Docker:
|
||||
6. Build the Docker image:
|
||||
|
||||
```shell
|
||||
docker compose build chatmail
|
||||
docker compose build
|
||||
```
|
||||
|
||||
7. Start docker compose and wait for the installation to finish:
|
||||
|
||||
@@ -74,7 +74,7 @@ sudo sysctl --system
|
||||
|
||||
6. Собрать docker образ
|
||||
```shell
|
||||
docker compose build chatmail
|
||||
docker compose build
|
||||
```
|
||||
|
||||
7. Запустить docker compose и дождаться завершения установки
|
||||
|
||||
Reference in New Issue
Block a user