Commit c0beff70 authored by Tomasz Mi膮sko's avatar Tomasz Mi膮sko

tests: Fix compatibility with Python 3.5

Use call_count to verify the number of calls. This replaces
assert_called_once used previously, which is only available
since Python 3.6.

Fixes issue #274.
parent ad389138
Pipeline #68397 passed with stages
in 5 minutes and 17 seconds