def test_passes(self):
        self.__tle_fb = tle_models.TwoLineElement.objects.create(
            'testingsource',
            db_tools.ISS_TLE_ID, db_tools.ISS_TLE[0], db_tools.ISS_TLE[1]
        )
        self.__sc_fb = db_tools.create_sc(
            user_profile=self.__test_user_profile, tle_id=db_tools.ISS_TLE_ID
        )

        self.__gs_uvigo_id = 'uvigo-gs'
        self.__gs_uvigo_e = 0
        self.__gs_uvigo_lat = 42.170075
        self.__gs_uvigo_lng = -8.68826

        self.__gs_uvigo = db_tools.create_gs(
            user_profile=self.__test_user_profile,
            identifier=self.__gs_uvigo_id,
            latitude=self.__gs_uvigo_lat,
            longitude=self.__gs_uvigo_lng,
            contact_elevation=self.__gs_uvigo_e
        )

        self.__simulator.set_spacecraft(self.__tle_fb)
        self.__simulator.set_groundstation(self.__gs_uvigo)
        window = self.__simulator.get_simulation_window()
        # noinspection PyUnusedLocal
        slots = self.__simulator.calculate_pass_slot(window[0], window[1])
UNIT test: services.common.simualtion.passes
dataset/ETHPy150Open satnet-project/server/services/common/tests/test_simulation.py/TestSimulation.test_passes