def test_remove_credit_card_number_empty_input(self):
     # Setup
     input_text = ''
     expected_output = ''
     # Actual call
     output_text = remove_credit_card_number(input_text)
     # Asserts
     self.assertEqual(output_text, expected_output)
 def test_remove_credit_card_number_no_credit_card_number(self):
     # Setup
     input_text = "Hello world!"
     expected_output = "Hello world!"
     # Actual call
     output_text = remove_credit_card_number(input_text)
     # Asserts
     self.assertEqual(output_text, expected_output)
 def test_remove_credit_card_number_all_credit_card_numbers(self):
     # Setup
     input_text = '379524231139785, 5592621143924294, 6011167500016424, 4500339642915036, 4979770613611'
     expected_output = ', , , , '
     # Actual call
     output_text = remove_credit_card_number(input_text)
     # Asserts
     self.assertEqual(output_text, expected_output)
 def test_remove_credit_card_number(self):
     # Setup
     input_text = "Please refund me 5116937367451492"
     expected_output = "Please refund me "
     # Actual call
     output_text = remove_credit_card_number(input_text)
     # Asserts
     self.assertEqual(output_text, expected_output)