Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: overwrite previous comment written by process-test-results #428

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

joseph-sentry
Copy link
Contributor

@joseph-sentry joseph-sentry commented Apr 29, 2024

Copy link

codecov bot commented Apr 29, 2024

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 2668 tests with 4 failed, 2664 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
pytest

Test name:
api.temp.calculator.test_calculator::test_divide

Envs:
- python3.8
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
pytest

Test name:
api.temp.calculator.test_calculator::test_divide

Envs:
- python3.9
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
pytest

Test name:
api.temp.calculator.test_calculator::test_divide

Envs:
- python3.10
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
pytest

Test name:
api.temp.calculator.test_calculator::test_divide

Envs:
- python3.11
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

@thomasrockhu-codecov
Copy link
Contributor

@joseph-sentry what is matrix doing here? Or rather, what's the point and what does it help do?

@joseph-sentry
Copy link
Contributor Author

what is matrix doing here? Or rather, what's the point and what does it help do?

@thomasrockhu-codecov the idea is that the action would pass the strategy.matrix converted to JSON to the --matrix option so that the CLI knows what the matrix values currently are, so that there's only ever one comment for each matrix combination, otherwise we wouldn't be able to differentiate between comments made for different matrix runs in the same comment

@thomasrockhu-codecov
Copy link
Contributor

@joseph-sentry is this specific to test-results? or will coverage need it too?

@joseph-sentry
Copy link
Contributor Author

@joseph-sentry is this specific to test-results? or will coverage need it too?

I think this only makes sense for test results right now, but in the future we could see if it could make sense for coverage as well. This might be a way to automate away flags

@thomasrockhu-codecov
Copy link
Contributor

@joseph-sentry got it, could we prepend it or make that clear in the help docs? I suspect people will be like... do I need this? what is it for?

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

23 similar comments
Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

github-actions bot commented May 2, 2024

❌ Failed Test Results:

Completed 666 tests with 1 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140222534141456&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f881a513430&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139648490669728&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = ((), {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped....-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f0272b06940&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher((args, kwargs))
actual = self._call_matcher(self.call_args)
if expected != actual:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;139645658490832&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7f01c9d69b20&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\n Actual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError

View checks

Copy link

❌ Failed Test Results:

Completed 667 tests with 2 failed, 665 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
Testsuite:
tests.commands.test_process_test_results::test_process_test_results

Test name:
pytest
self = &lt;MagicMock name=&apos;send_post_request&apos; id=&apos;140527693545632&apos;&gt;, args = ()
kwargs = {&apos;data&apos;: {&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;det...v-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;}, &apos;url&apos;: &apos;https://api.github..../issues/1/comments&amp;apos;}
expected = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;})
actual = call(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCom...ub+json&apos;, &apos;Authorization&apos;: &apos;Bearer whatever&apos;, &apos;X-GitHub-Api-Version&apos;: &apos;2022-11-28&apos;, &apos;User-Agent&apos;: &apos;codecov-cli/0.6.0&apos;})
_error_message = &lt;function NonCallableMock.assert_called_with.&lt;locals&gt;._error_message at 0x7fcf2738ff40&gt;
cause = None

def assert_called_with(self, /, *args, **kwargs):
&quot;&quot;&quot;assert that the last call was made with the specified arguments.

Raises an AssertionError if the args and keyword args passed in are
different to the last call to the mock.&quot;&quot;&quot;
if self.call_args is None:
expected = self._format_mock_call_signature(args, kwargs)
actual = &apos;not called.&apos;
error_message = (&apos;expected call not found.\nExpected: %s\nActual: %s&apos;
% (expected, actual))
raise AssertionError(error_message)

def _error_message():
msg = self._format_mock_failure_message(args, kwargs)
return msg
expected = self._call_matcher(_Call((args, kwargs), two=True))
actual = self._call_matcher(self.call_args)
if actual != expected:
cause = expected if isinstance(expected, Exception) else None
&gt; raise AssertionError(_error_message()) from cause
E AssertionError: expected call not found.
E Expected: send_post_request(url=&apos;https://api.github..../issues/1/comments&amp;apos;, data={&apos;body&apos;: &apos;### :x: Failed Test Results: \nCompleted 4 tests with 1 failed, 3 passed and 0 skipped.\n&lt;details&gt;&lt;summary&gt;View the full list of failed tests&lt;/summary&gt;\n\n

View checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Test Result local GHA or expand current action
4 participants