Beispiel #1
0
    def setUpClass(cls):
        super().setUpClass()

        cls.repeater = ShortFormRepeater(
            domain=cls.domain,
            url="short-form-repeater-url",
        )
        cls.repeater.save()
Beispiel #2
0
    def setUpClass(cls):
        super(ShortFormRepeaterTest, cls).setUpClass()

        cls.domain_name = "test-domain"
        cls.domain = create_domain(cls.domain_name)
        cls.repeater = ShortFormRepeater(
            domain=cls.domain_name,
            url="short-form-repeater-url",
        )
        cls.repeater.save()
    def setUpClass(cls):
        super().setUpClass()

        cls.connx = ConnectionSettings.objects.create(
            domain=cls.domain,
            url="short-form-repeater-url",
        )
        cls.repeater = ShortFormRepeater(
            domain=cls.domain,
            connection_settings_id=cls.connx.id,
        )
        cls.repeater.save()