test/test_rubypython.rb in rubypython-0.2.4 vs test/test_rubypython.rb in rubypython-0.2.5
- old
+ new
@@ -99,10 +99,13 @@
end
end
def test_setter_instance
RubyPython.session do
-
+ urllib2=RubyPython.import "urllib2"
+ req=urllib2.Request("google.com")
+ req.headers={:a=>"2","k"=>4}
+ assert_equal({"a"=>"2","k"=>4},req.headers)
end
end
end