diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
commit | cd41fb97dcf8b2c271090c44a6d299f8f87c6217 (patch) | |
tree | 92024d274bb26090af42ddb97d423c2d4786f3b5 /ick2/projectapi_tests.py | |
parent | 57a27b0432a0d9b8877ea50a554294326302e7da (diff) | |
download | ick2-cd41fb97dcf8b2c271090c44a6d299f8f87c6217.tar.gz |
Revert "Add: TokenGetter"
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
Diffstat (limited to 'ick2/projectapi_tests.py')
-rw-r--r-- | ick2/projectapi_tests.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ick2/projectapi_tests.py b/ick2/projectapi_tests.py index bdb58d1..f8b3c2a 100644 --- a/ick2/projectapi_tests.py +++ b/ick2/projectapi_tests.py @@ -20,12 +20,6 @@ import unittest import ick2 -class DummyTokenGetter: - - def get_token(self): - return 'DUMMY.TOKEN' - - class ProjectAPITests(unittest.TestCase): def setUp(self): @@ -35,10 +29,7 @@ class ProjectAPITests(unittest.TestCase): return ick2.ProjectAPI(self.state) def create_pipeline_api(self): - getter = DummyTokenGetter() - api = ick2.PipelineAPI(self.state) - api.set_token_getter(getter) - return api + return ick2.PipelineAPI(self.state) def test_has_not_projects_initially(self): api = self.create_api() |