import unittest
from .test import TestCase
from . import SDK


class TestSDK(TestCase):
    def test_instance(self):
        sdk = SDK('whatever', 'whatever', 'https://whatever')
        self.assertEqual(sdk.platform().create_url('/foo', add_server=True), 'https://whatever/restapi/v1.0/foo')


if __name__ == '__main__':
    unittest.main()
