# coding=utf-8

from pocounit.addons import PocoUnitAddon


class SiteCaptor(PocoUnitAddon):
    def __init__(self, poco):
        super(SiteCaptor, self).__init__()
        self.poco = poco
        self.site_snapshot = None

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)

    def snapshot(self, site_id):
        return self.site_snapshot.snapshot(site_id)

9ad8956c1778455a84672340dc5bfc813d45085d
<mask token>


class SiteCaptor(PocoUnitAddon):
    <mask token>

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)
    <mask token>

<mask token>


class SiteCaptor(PocoUnitAddon):
    <mask token>

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)

    def snapshot(self, site_id):
        return self.site_snapshot.snapshot(site_id)

<mask token>


class SiteCaptor(PocoUnitAddon):

    def __init__(self, poco):
        super(SiteCaptor, self).__init__()
        self.poco = poco
        self.site_snapshot = None

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)

    def snapshot(self, site_id):
        return self.site_snapshot.snapshot(site_id)

from pocounit.addons import PocoUnitAddon


class SiteCaptor(PocoUnitAddon):

    def __init__(self, poco):
        super(SiteCaptor, self).__init__()
        self.poco = poco
        self.site_snapshot = None

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)

    def snapshot(self, site_id):
        return self.site_snapshot.snapshot(site_id)

# coding=utf-8

from pocounit.addons import PocoUnitAddon


class SiteCaptor(PocoUnitAddon):
    def __init__(self, poco):
        super(SiteCaptor, self).__init__()
        self.poco = poco
        self.site_snapshot = None

    def initialize(self, Case):
        self.site_snapshot = Case.get_result_emitter('siteSnapshot')
        self.site_snapshot.set_poco_instance(self.poco)

    def snapshot(self, site_id):
        return self.site_snapshot.snapshot(site_id)
