def test_get_plugins_as_table(self):
        """Test get plugins as table"""
        T = get_plugins_as_table()
        S = T.toNewlineFreeString()
        LOGGER.debug(S)
        #f = file('/tmp/tbl.html', 'wt')
        #f.write(S)
        #f.close()
        # Rather arbitrary way to see if the table has some data in it
        # maybe there is a nicer way to test given that fn list can change? TS
        assert len(S) > 1000

        # Now test the table for a single nominated fn
        T = get_plugins_as_table('F1')
        S = T.toNewlineFreeString()
        LOGGER.debug(S)
        #f = file('/tmp/tbl.html', 'wt')
        #f.write(S)
        #f.close()
        # Expecting that F1 test wont change and that the table produced for
        # it is of a deterministic length
        assert len(S) == 518
 def test_get_plugins_as_table(self):
     """Test get plugins as table with filtering."""
     T = get_plugins_as_table()
     S = T.toNewlineFreeString()
     LOGGER.debug(S)
Example #3
0
 def test_get_plugins_as_table(self):
     """Test get plugins as table with filtering."""
     T = get_plugins_as_table()
     S = T.toNewlineFreeString()
     LOGGER.debug(S)