@mock_ec2
def test_delete_tag_empty_resource():
    client = boto3.client('ec2', region_name='us-west-1')
    with pytest.raises(ClientError) as ex:
        client.delete_tags(Resources=[], Tags=[{'Key': 'Value'}])
    ex.value.response['Error']['Code'].should.equal('MissingParameter')
    ex.value.response['Error']['Message'].should.equal('The request must contain the parameter resourceIdSet')
@mock_ec2
def test_delete_tag_empty_resource():
    client = boto3.client('ec2', region_name='us-west-1')
    with pytest.raises(ClientError) as ex:
        client.delete_tags(Resources=[], Tags=[{'Key': 'Value'}])
    ex.value.response['Error']['Code'].should.equal('MissingParameter')
    ex.value.response['Error']['Message'].should.equal('The request must contain the parameter resourceIdSet')