diff --git a/tests/test_altcha.py b/tests/test_altcha.py index d268088..93c58e5 100644 --- a/tests/test_altcha.py +++ b/tests/test_altcha.py @@ -237,7 +237,7 @@ def test_solve_challenge(self): ) challenge = create_challenge(options) - solution, err = solve_challenge( + solution = solve_challenge( challenge.challenge, challenge.salt, challenge.algorithm, @@ -245,7 +245,6 @@ def test_solve_challenge(self): start, ) - self.assertIsNone(err, "Error occurred while solving the challenge") self.assertIsNotNone(solution, "Solution should not be None") self.assertEqual( challenge.challenge, @@ -254,7 +253,7 @@ def test_solve_challenge(self): ), ) - def test_solve_challenge(self): + def test_solve_challenge_solution(self): # Create a challenge options = ChallengeOptions( algorithm="SHA-256", number=100, hmac_key=self.hmac_key