summaryrefslogtreecommitdiff
path: root/test/remote/hkp_source_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/remote/hkp_source_test.rb')
-rw-r--r--test/remote/hkp_source_test.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/test/remote/hkp_source_test.rb b/test/remote/hkp_source_test.rb
index aabc4d3..103b8ad 100644
--- a/test/remote/hkp_source_test.rb
+++ b/test/remote/hkp_source_test.rb
@@ -1,17 +1,8 @@
require 'test_helper'
+require 'support/celluloid_test'
require 'nickserver/hkp/source'
-class RemoteHkpSourceTest < Minitest::Test
-
- def setup
- super
- Celluloid.boot
- end
-
- def teardown
- Celluloid.shutdown
- super
- end
+class RemoteHkpSourceTest < CelluloidTest
def test_key_info
uid = 'elijah@riseup.net'
@@ -45,5 +36,7 @@ class RemoteHkpSourceTest < Minitest::Test
assert_equal 200, status
yield keys
end
+ rescue HTTP::ConnectionError => e
+ skip "could not talk to hkp server: #{e}"
end
end