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.

15 lines
335 B

  1. from . import client
  2. def test_random_machine_id():
  3. assert len(client.random_machine_id()) == 64
  4. def test_api_endpoint_to_host():
  5. assert client.api_endpoint_to_host("http://foo.bar") == "foo.bar"
  6. assert client.api_endpoint_to_host("https://foo.bar") == "foo.bar"
  7. def test_version():
  8. assert "." in client.version()