Skip to content

Commit

Permalink
Merge pull request #495 from stgraber/master
Browse files Browse the repository at this point in the history
integration: Skip cluster test when standalone
  • Loading branch information
albertodonato authored Dec 12, 2021
2 parents 9f274bc + 4ccce50 commit 1bbd68e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration/test_cluster_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def setUp(self):
if not self.client.has_api_extension("clustering"):
self.skipTest("Required LXD API extension not available!")

if not self.client.server_clustered:
self.skipTest("Server isn't part of a cluster!")


class TestClusterMembers(ClusterMemberTestCase):
"""Tests for `Client.cluster_members.`"""
Expand Down

0 comments on commit 1bbd68e

Please sign in to comment.