mtg-price-bot/tests/prices_test.go
Artyom Belousov 1af9226764 Initial commit
Includes:
SCG parser
MTG cards search
2019-05-10 14:59:37 +03:00

13 lines
255 B
Go

package tests
import (
"github.com/flygrounder/mtg-price-vk/cardsinfo"
"github.com/stretchr/testify/assert"
"testing"
)
func TestParser(t *testing.T) {
prices, err := cardsinfo.GetSCGPrices("shock")
assert.Nil(t, err)
assert.NotEmpty(t, prices)
}