diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-06-03 20:36:07 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-06-03 20:36:07 +0200 |
commit | 98a75846c69f53f17389401096d2a19c697045d3 (patch) | |
tree | 8b9512c9dc66abfa0accec59761f25ed487728d6 /test_fetching.py | |
parent | c072ed0ac345a7e421cb0612048d4cd534bf6e73 (diff) |
Have a working example to parse JSON sets and get cards by number
Diffstat (limited to 'test_fetching.py')
-rwxr-xr-x | test_fetching.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test_fetching.py b/test_fetching.py deleted file mode 100755 index bf17a22..0000000 --- a/test_fetching.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env python3 - -import unittest -import cardparser - -class Test_cardPageFetching(unittest.TestCase): - - # Tests - def test_correctUrlIsBuilt(self): - self.assertEqual(cardparser.makeUrl("set", "number"), "http://magiccards.info/set/en/number.html") - -def test(): - unittest.main(exit=False) - -# The entry point -if __name__ == "__main__": - test() |