From f8db7e85289f723bac979ff18a9018b7da30981e Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Mon, 5 Feb 2018 21:25:11 -0500 Subject: [PATCH] Removed tests folder. Fixed formatting on Rulings_Classes. --- docs/Rulings_Classes.md | 6 ++++++ tests/cards_unit_test.py | 7 ------- tests/garbage | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 tests/cards_unit_test.py delete mode 100644 tests/garbage diff --git a/docs/Rulings_Classes.md b/docs/Rulings_Classes.md index a6faf9f..1bd564d 100644 --- a/docs/Rulings_Classes.md +++ b/docs/Rulings_Classes.md @@ -13,6 +13,7 @@ Gets the ruling of a card by the Scryfall Id. The same listed in the `rulings` documentation. Example usage: + rule = scrython.rulings.Id(id='31412335-110c-449a-9c2f-bff8763a6504') ## `rulings.Mtgo()` @@ -28,12 +29,14 @@ Gets the ruling of a card by the Mtgo Id. The same listed in the `rulings` documentation. Example usage: + rule = scrython.rulings.Mtgo(id="24811") ## `rulings.Multiverse()` Gets the ruling of a card by the Multiverse Id. **Parameters:** + |Param|Required [y/n]|Input type|Description| |:---:|:---:|:---:|:---:| |id|Yes|String|The Multiverse Id of the card you want rulings for.| @@ -42,12 +45,14 @@ Gets the ruling of a card by the Multiverse Id. The same listed in the `rulings` documentation. Example usage: + rule = scrython.rulings.Multiverse(id="124451") ## `rulings.Code()` Gets the ruling of a card by the set code and collector number. **Parameters:** + |Param|Required [y/n]|Input type|Description| |:---:|:---:|:---:|:---:| |code|Yes|String|The 3 letter set code of the card.| @@ -57,4 +62,5 @@ Gets the ruling of a card by the set code and collector number. The same listed in the `rulings` documentation. Example usage: + rule = scrython.rulings.Code(code='CSP', collector_number='142') diff --git a/tests/cards_unit_test.py b/tests/cards_unit_test.py deleted file mode 100644 index 94fef8a..0000000 --- a/tests/cards_unit_test.py +++ /dev/null @@ -1,7 +0,0 @@ -import unittest -import cards - -class TestObjectCreation(unittest.TestCase): - - def testRandomCard(self): - pass diff --git a/tests/garbage b/tests/garbage deleted file mode 100644 index 1190fd0..0000000 --- a/tests/garbage +++ /dev/null @@ -1 +0,0 @@ -This is a garbage file for git to track this directory.