aboutsummaryrefslogtreecommitdiffstats
path: root/test_fetching.py
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2015-06-03 20:36:07 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2015-06-03 20:36:07 +0200
commit98a75846c69f53f17389401096d2a19c697045d3 (patch)
tree8b9512c9dc66abfa0accec59761f25ed487728d6 /test_fetching.py
parentc072ed0ac345a7e421cb0612048d4cd534bf6e73 (diff)
Have a working example to parse JSON sets and get cards by number
Diffstat (limited to 'test_fetching.py')
-rwxr-xr-xtest_fetching.py17
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()