def check(self):
    expected_location = [(((('https://' + self.path.fqdn) + '/') + self.name) + '/target/')]
    actual_location = self.results[0].headers['Location']
    assert (actual_location == expected_location), 'Expected redirect location to be {}, got {} instead'.format(expected_location, actual_location)
    errors = self.results[2].json
    assert (len(errors) == 0)
def check(self):
    expected_location = [(((('https://' + self.path.fqdn) + '/') + self.name) + '/target/')]
    actual_location = self.results[0].headers['Location']
    assert (actual_location == expected_location), 'Expected redirect location to be {}, got {} instead'.format(expected_location, actual_location)
    errors = self.results[2].json
    assert (len(errors) == 0)