Skip to content

Commit

Permalink
test: fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Jan 31, 2023
1 parent 0e637c9 commit fc89490
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ def test_example():

assert res == """<?xml version="1.0" encoding="utf-8"?>
<testsuite errors="0" failures="154" name="" skips="0" tests="154" time="0.0">
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:565" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:565" type="WARNING">mylittlepony/mylittlepony/rpc/base.py:565: error: No overload variant of &quot;get&quot; of &quot;Mapping&quot; matches argument types &quot;str&quot;, &quot;Dict[&lt;nothing>, &lt;nothing>]&quot;</failure>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:565" file="mylittlepony/mylittlepony/rpc/base.py" line="565" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:565" type="WARNING" file="mylittlepony/mylittlepony/rpc/base.py" line="565">mylittlepony/mylittlepony/rpc/base.py:565: error: No overload variant of &quot;get&quot; of &quot;Mapping&quot; matches argument types &quot;str&quot;, &quot;Dict[&lt;nothing>, &lt;nothing>]&quot;</failure>
</testcase>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:814" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:814" type="WARNING">mylittlepony/mylittlepony/rpc/base.py:814: error: Name 'xmlrpclib' is not defined</failure>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:814" file="mylittlepony/mylittlepony/rpc/base.py" line="814" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:814" type="WARNING" file="mylittlepony/mylittlepony/rpc/base.py" line="814">mylittlepony/mylittlepony/rpc/base.py:814: error: Name 'xmlrpclib' is not defined</failure>
</testcase>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:883" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:883" type="WARNING">mylittlepony/mylittlepony/rpc/base.py:883: error: Need type annotation for 'status_codes_to_exceptions' (hint: &quot;status_codes_to_exceptions: Dict[&lt;type>, &lt;type>] = ...&quot;)</failure>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:883" file="mylittlepony/mylittlepony/rpc/base.py" line="883" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:883" type="WARNING" file="mylittlepony/mylittlepony/rpc/base.py" line="883">mylittlepony/mylittlepony/rpc/base.py:883: error: Need type annotation for 'status_codes_to_exceptions' (hint: &quot;status_codes_to_exceptions: Dict[&lt;type>, &lt;type>] = ...&quot;)</failure>
</testcase>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:885" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:885" type="WARNING">mylittlepony/mylittlepony/rpc/base.py:885: error: Type signature has too few arguments</failure>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:885" file="mylittlepony/mylittlepony/rpc/base.py" line="885" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:885" type="WARNING" file="mylittlepony/mylittlepony/rpc/base.py" line="885">mylittlepony/mylittlepony/rpc/base.py:885: error: Type signature has too few arguments</failure>
</testcase>
</testsuite>"""

Expand All @@ -26,8 +26,8 @@ def test_example_one():

assert res == """<?xml version="1.0" encoding="utf-8"?>
<testsuite errors="0" failures="1" name="" skips="0" tests="1" time="0.0">
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:885" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:885" type="WARNING">mylittlepony/mylittlepony/rpc/base.py:885: error: Type signature has too few arguments</failure>
<testcase classname="mylittlepony/mylittlepony/rpc/base.py" name="mylittlepony/mylittlepony/rpc/base.py:885" file="mylittlepony/mylittlepony/rpc/base.py" line="885" time="0.0">
<failure message="Mypy error on mylittlepony/mylittlepony/rpc/base.py:885" type="WARNING" file="mylittlepony/mylittlepony/rpc/base.py" line="885">mylittlepony/mylittlepony/rpc/base.py:885: error: Type signature has too few arguments</failure>
</testcase>
</testsuite>"""

Expand Down

0 comments on commit fc89490

Please sign in to comment.