Example #1
0
    def test_build_graph_data(self):
        """
        Test buildGraphData(self, data, flt=list())
        """
        sf = SpiderFoot(dict())

        sf.buildGraphData(None)
        self.assertEqual('TBD', 'TBD')
    def test_build_graph_data_should_return_a_set(self):
        """
        Test buildGraphData(self, data, flt=list())
        """
        sf = SpiderFoot(dict())

        graph_data = sf.buildGraphData('', '')
        self.assertIsInstance(graph_data, set)

        graph_data = sf.buildGraphData(None, None)
        self.assertIsInstance(graph_data, set)
Example #3
0
    def test_build_graph_data_should_return_a_set(self):
        """
        Test buildGraphData(self, data, flt=list())
        """
        sf = SpiderFoot(dict())

        graph_data = sf.buildGraphData('')
        self.assertEqual(set, type(graph_data))