# File test/metacat_test.rb, line 62
  def test_login_and_yield
    Metacat.new("http://data.piscoweb.org/catalog/metacat", 
    'username' => @username, 'password' => @password) do |metacat|
      assert metacat.logged_in?
    end
  end