コード例 #1
0
 def test_checkCurrencySymbolAsPartOfName(self):
     store = "DE/de"
     cids = psn.getCidForName("Child of Light", store)
     item = psn.getItemForCid(cids[0], store)
     assert psn.getDisplayPrice(item, store)[0] == u'\N{EURO SIGN}'
コード例 #2
0
    def test_getItemForCid2(self):
        store = "DE/de"
        cids = psn.getCidForName("Child of Light", store)
        item = psn.getItemForCid(cids[0], store)

        assert item['name'] is not None
コード例 #3
0
    def test_searchForCidByTitleInUsStore(self):
        cids = psn.getCidForName("Metal Gear", "US/en")

        assert len(cids) > 0
コード例 #4
0
    def test_getItemForCid(self):
        store = "DE/de"
        cids = psn.getCidForName("Tearaway", store)
        item = psn.getItemForCid(cids[0], store)

        assert item['name'] is not None
コード例 #5
0
    def test_searchForCidByTitleInGermanStore(self):
        cids = psn.getCidForName("Metal Gear", "DE/de")

        assert len(cids) > 0