def test_empty_response_means_zero_credits(self): res = BDEAStatusResponse({}) assert res.credits() == 0
def test_empty_response_means_exausted_credits(self): res = BDEAStatusResponse({}) assert res.credit_status() == 'exhausted'
def test_empty_response_is_not_valid(self): res = BDEAStatusResponse({}) assert res.status() == False