Get the root of the market tree. Returns a list, where each element is a tuple containing: the ID, the name and the icon of the group
(self)
| 855 | return pub |
| 856 | |
| 857 | def getMarketRoot(self): |
| 858 | """ |
| 859 | Get the root of the market tree. |
| 860 | Returns a list, where each element is a tuple containing: |
| 861 | the ID, the name and the icon of the group |
| 862 | """ |
| 863 | root = set() |
| 864 | for id_ in self.ROOT_MARKET_GROUPS: |
| 865 | mg = self.getMarketGroup(id_) |
| 866 | root.add(mg) |
| 867 | |
| 868 | return root |
| 869 | |
| 870 | def getShipRoot(self): |
| 871 | cat1 = self.getCategory("Ship") |
no test coverage detected