@mock_ec2_deprecated
def test_get_all_tags_with_special_characters():
    conn = boto.connect_ec2('the_key', 'the_secret')
    reservation = conn.run_instances(EXAMPLE_AMI_ID)
    instance = reservation.instances[0]
    instance.add_tag('a key', 'some<> value')
    tags = conn.get_all_tags()
    tag = tags[0]
    tag.name.should.equal('a key')
    tag.value.should.equal('some<> value')
@mock_ec2_deprecated
def test_get_all_tags_with_special_characters():
    conn = boto.connect_ec2('the_key', 'the_secret')
    reservation = conn.run_instances(EXAMPLE_AMI_ID)
    instance = reservation.instances[0]
    instance.add_tag('a key', 'some<> value')
    tags = conn.get_all_tags()
    tag = tags[0]
    tag.name.should.equal('a key')
    tag.value.should.equal('some<> value')