def test_get_socket_count(self): self.assertEqual(einhorn.get_socket_count(), 2)
def test_get_socket_count(self): with self.assertRaises(einhorn.NotEinhornWorker): einhorn.get_socket_count()