Completed
Push — develop ( 47004c...cbb80c )
by
unknown
28s
created

TestBillingAPI   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_valid_endpoint() 0 2 1
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, 'http://billing.scaleway.com')
10