def test_clusters(self): clusters = sc.cluster(self.sock, "fakedset") # Try to parse the first entry, not catching any exceptions self.assertRegexpMatches(clusters, r'[0-9\n]+', "Invalid cluster data")