def test_fails_validation(self, invalid_name):
        """
        Test that an invalid name will return an error.
        """
        self.client.login(username=self.user.username, password=TEST_PASSWORD)
        self.send_post(
            self.client,
            {'name': invalid_name},
            expected_status=400
        )