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? (when tests?
(invoke "python" "-m" "pytest" (invoke "python" "-m" "pytest"
;; This test fails because of the unvendoring ;; This test fails because of the unvendoring
;; of toml from dynaconf. ;; of toml from dynaconf and
"-k" "not test_get_settings_failure_invalid_toml"))))))) ;; because they depend on system timezone.
"-k" "not test_get_settings_failure_invalid_toml and not test_format_event")))))))
(native-inputs (native-inputs
`(("python-asynctest" ,python-asynctest) `(("python-asynctest" ,python-asynctest)
("python-iniconfig" ,python-iniconfig) ("python-iniconfig" ,python-iniconfig)

View File

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
set -eu 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 guix time-machine -C channels-lock.scm -- system docker-image -L . -L ./patches --root=docker-image.tar.gz docker/image.scm