We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f91640e commit b19a262Copy full SHA for b19a262
test/sample_cases_test.py
@@ -25,7 +25,7 @@ def redirect_stdout(new_out):
25
class TestHappyPath(unittest.TestCase):
26
def test_fails_to_create_identicon_with_input_text_missing(self):
27
with self.assertRaises(subprocess.CalledProcessError) as context:
28
- error_received = subprocess.check_output(f'python3 {PROJECT_ROOT}/main.py', shell=True, stderr=subprocess.STDOUT).strip()
+ subprocess.check_output(f'python3 {PROJECT_ROOT}/main.py', shell=True, stderr=subprocess.STDOUT).strip()
29
self.assertIn(context.exception.message, "main.py: error: the following arguments are required: -s/--string")
30
31
def test_creates_identicon_when_input_text_provided(self):
0 commit comments