fix docs; revert tests

- https://github.com/chatmail/relay/pull/614#discussion_r2297774600
This commit is contained in:
Keonik1
2025-08-25 22:14:32 +03:00
parent c372c55c88
commit 929383df88
3 changed files with 4 additions and 10 deletions

View File

@@ -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()

View File

@@ -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:

View File

@@ -74,7 +74,7 @@ sudo sysctl --system
6. Собрать docker образ
```shell
docker compose build chatmail
docker compose build
```
7. Запустить docker compose и дождаться завершения установки