def test_get_subscriptions(self):
        self.prepare_json_response("GET", "/ws/subscriptions", {
            "subscriptions": [
                "subscriptions/a",
                "subscriptions/b",
            ]
        })
        subs = self.wva.get_subscriptions()
        self.assertEqual(len(subs), 2)
        self.assertEqual(subs[0].short_name, "a")
        self.assertEqual(subs[1].short_name, "b")