diff options
Diffstat (limited to 'tests/test_portfolio.py')
-rw-r--r-- | tests/test_portfolio.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_portfolio.py b/tests/test_portfolio.py index 98048ac..2a42d0c 100644 --- a/tests/test_portfolio.py +++ b/tests/test_portfolio.py | |||
@@ -2,7 +2,6 @@ from .helper import * | |||
2 | import portfolio | 2 | import portfolio |
3 | import datetime | 3 | import datetime |
4 | 4 | ||
5 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
6 | class ComputationTest(WebMockTestCase): | 5 | class ComputationTest(WebMockTestCase): |
7 | def test_compute_value(self): | 6 | def test_compute_value(self): |
8 | compute = mock.Mock() | 7 | compute = mock.Mock() |
@@ -26,7 +25,6 @@ class ComputationTest(WebMockTestCase): | |||
26 | portfolio.Computation.compute_value("foo", "bid", compute_value="test") | 25 | portfolio.Computation.compute_value("foo", "bid", compute_value="test") |
27 | compute.assert_called_with("foo", "bid") | 26 | compute.assert_called_with("foo", "bid") |
28 | 27 | ||
29 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
30 | class TradeTest(WebMockTestCase): | 28 | class TradeTest(WebMockTestCase): |
31 | 29 | ||
32 | def test_values_assertion(self): | 30 | def test_values_assertion(self): |
@@ -591,7 +589,6 @@ class TradeTest(WebMockTestCase): | |||
591 | self.assertEqual("ETH", as_json["currency"]) | 589 | self.assertEqual("ETH", as_json["currency"]) |
592 | self.assertEqual("BTC", as_json["base_currency"]) | 590 | self.assertEqual("BTC", as_json["base_currency"]) |
593 | 591 | ||
594 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
595 | class BalanceTest(WebMockTestCase): | 592 | class BalanceTest(WebMockTestCase): |
596 | def test_values(self): | 593 | def test_values(self): |
597 | balance = portfolio.Balance("BTC", { | 594 | balance = portfolio.Balance("BTC", { |
@@ -667,7 +664,6 @@ class BalanceTest(WebMockTestCase): | |||
667 | self.assertEqual(D(0), as_json["margin_available"]) | 664 | self.assertEqual(D(0), as_json["margin_available"]) |
668 | self.assertEqual(D(0), as_json["margin_borrowed"]) | 665 | self.assertEqual(D(0), as_json["margin_borrowed"]) |
669 | 666 | ||
670 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
671 | class OrderTest(WebMockTestCase): | 667 | class OrderTest(WebMockTestCase): |
672 | def test_values(self): | 668 | def test_values(self): |
673 | order = portfolio.Order("buy", portfolio.Amount("ETH", 10), | 669 | order = portfolio.Order("buy", portfolio.Amount("ETH", 10), |
@@ -1729,7 +1725,6 @@ class OrderTest(WebMockTestCase): | |||
1729 | result = order.retrieve_order() | 1725 | result = order.retrieve_order() |
1730 | self.assertFalse(result) | 1726 | self.assertFalse(result) |
1731 | 1727 | ||
1732 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
1733 | class MouvementTest(WebMockTestCase): | 1728 | class MouvementTest(WebMockTestCase): |
1734 | def test_values(self): | 1729 | def test_values(self): |
1735 | mouvement = portfolio.Mouvement("ETH", "BTC", { | 1730 | mouvement = portfolio.Mouvement("ETH", "BTC", { |
@@ -1787,7 +1782,6 @@ class MouvementTest(WebMockTestCase): | |||
1787 | self.assertEqual("BTC", as_json["base_currency"]) | 1782 | self.assertEqual("BTC", as_json["base_currency"]) |
1788 | self.assertEqual("ETH", as_json["currency"]) | 1783 | self.assertEqual("ETH", as_json["currency"]) |
1789 | 1784 | ||
1790 | @unittest.skipUnless("unit" in limits, "Unit skipped") | ||
1791 | class AmountTest(WebMockTestCase): | 1785 | class AmountTest(WebMockTestCase): |
1792 | def test_values(self): | 1786 | def test_values(self): |
1793 | amount = portfolio.Amount("BTC", "0.65") | 1787 | amount = portfolio.Amount("BTC", "0.65") |