Commit Graph
12 Commits
Author SHA1 Message Date
mostalive c848ca17ad Gave up trying to reset env var - set to "*" after test
And after doctest. it stayed at "*" after the last test anyway, letting
the doctest fail.

doctests are not recommended for side effectful tests anyway https://hexdocs.pm/ex_unit/main/ExUnit.DocTest.html
2025-09-14 21:30:08 +01:00
mostalive 5a7f651547 Integrate whitelist in imperative shell 2025-09-14 20:15:14 +01:00
mostalive 1c23e93d43 WIP set the environment variable
next: implement
2025-09-14 17:10:50 +01:00
mostalive 09aeb31cb3 Move implementation to own file
Prefactoring, from  TDDAYMI to imperative shell. In the next step we
need the implementation from the functional core in the imperative
shell, to pass in the environment variable.
2025-09-14 16:59:42 +01:00
mostalive 464b96b656 match different casings 2025-09-14 16:46:57 +01:00
mostalive 5aefc18098 Whitelist two addresses
Intermediate steps not committed - addresses_as_list, because long stack
trace in output. turned out 'nil' case needs to be explicit now. I
prefer the small functions though instead of whole implementation in
case statement.
2025-09-14 16:39:56 +01:00
mostalive 50500060d5 Factor out describe block for allowed list empty etc. 2025-09-14 16:23:20 +01:00
mostalive e30a92193d empty covered by not equals - not allowed 2025-09-14 16:13:52 +01:00
mostalive b5e308aec6 whitelist on exact match 2025-09-14 16:12:33 +01:00
mostalive f333ea1ed0 when not defined, not allowed 2025-09-14 16:06:50 +01:00
mostalive 135448398d mail not whitelisted when not set 2025-09-14 13:13:10 +01:00
mostalive 595e23a4b5 empty rep with functioning mix test 2025-09-14 12:08:05 +01:00