Python 3 library and CLI application for SporeStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
335 B

from . import client
def test_random_machine_id():
assert len(client.random_machine_id()) == 64
def test_api_endpoint_to_host():
assert client.api_endpoint_to_host("http://foo.bar") == "foo.bar"
assert client.api_endpoint_to_host("https://foo.bar") == "foo.bar"
def test_version():
assert "." in client.version()