mobilizon-reshare.git: Disable test_format_event.

These tests somehow depend on the system timezone. While we try and make
them reproducible, they'll have to be disabled in prod since they
prevent the image from building.
This commit is contained in:
Giacomo Leidi 2021-11-12 02:40:50 +01:00
parent 4fd4a778fc
commit a91e72c3ef
2 changed files with 5 additions and 2 deletions

View File

@ -369,8 +369,9 @@ development, testing, production]};
(when tests?
(invoke "python" "-m" "pytest"
;; This test fails because of the unvendoring
;; of toml from dynaconf.
"-k" "not test_get_settings_failure_invalid_toml")))))))
;; of toml from dynaconf and
;; because they depend on system timezone.
"-k" "not test_get_settings_failure_invalid_toml and not test_format_event")))))))
(native-inputs
`(("python-asynctest" ,python-asynctest)
("python-iniconfig" ,python-iniconfig)

View File

@ -1,4 +1,6 @@
#!/bin/sh
set -eu
guix time-machine -C channels-lock.scm -- build -L . -L ./patches -f guix.scm
guix time-machine -C channels-lock.scm -- system docker-image -L . -L ./patches --root=docker-image.tar.gz docker/image.scm