def test_sc_create(self):
        if self.__verbose_testing:
            print('>>> TEST (test_sc_add)')

        result = jrpc_sc.create(
            self.__sc_3_id, 'xxxcs', self.__sc_3_tle_id,
            request=self.__http_request
        )

        self.assertEqual(
            result['spacecraft_id'], self.__sc_3_id,
            'Error creating the SC, expected id = ' + str(self.__sc_3_id) +
            ', actual id = ' + str(result['spacecraft_id'])
        )

        self.assertNotEqual(
            segments.Spacecraft.objects.get(identifier=self.__sc_3_id), None,
            'SC id = <' + str(self.__sc_3_id) + '>, should have been found'
        )
JRPC test: configuration.sc.create (1)
dataset/ETHPy150Open satnet-project/server/services/configuration/tests/jrpc/test_segments.py/JRPCSegmentsTest.test_sc_create