whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Allow test to actually work
Date Thu, 08 Aug 2019 22:51:21 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 38b0342  Allow test to actually work
38b0342 is described below

commit 38b03422eb0c121c1dc942c2b3bd52050305335c
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Aug 8 23:51:17 2019 +0100

    Allow test to actually work
---
 lib/whimsy/asf/mlist.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index a2d1d19..7346268 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -402,5 +402,9 @@ if __FILE__ == $0
   p  ASF::MLIST.list_subs(domain,false,true)
   p  ASF::MLIST.list_moderators(domain, true)
   p  ASF::MLIST.private_subscribers(domain)
+  # Needed because these methods call ASF::Mail.to_canonical
+  $LOAD_PATH.unshift '/srv/whimsy/lib'
+  require 'whimsy/asf'
+  p  ASF::MLIST.moderates(['chrisd@apache.org'])
   p  ASF::MLIST.digests(['chrisd@apache.org'])
 end


Mime
View raw message