File: test_balance.py

package info (click to toggle)
python-stripe 12.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,864 kB
  • sloc: python: 157,573; makefile: 13; sh: 9
file content (8 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
import stripe


class TestBalance(object):
    def test_is_retrievable(self, http_client_mock):
        resource = stripe.Balance.retrieve()
        http_client_mock.assert_requested("get", path="/v1/balance")
        assert isinstance(resource, stripe.Balance)