TestBillingAPI.test_valid_endpoint()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 2
rs 10
1
import unittest
2
3
from scaleway.apis.api_billing import BillingAPI
4
5
6
class TestBillingAPI(unittest.TestCase):
7
8
    def test_valid_endpoint(self):
9
        self.assertEqual(BillingAPI().base_url, 'https://billing.scaleway.com')
10