diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-08-30 02:36:34 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-08-30 02:36:34 -0300 |
commit | 978f3446d5cafd94d244b4240ab71dad283c9830 (patch) | |
tree | 5e623c81cac162bba3c85b2d02f2afd2c3fe1515 /service/test | |
parent | de67baa0c84621ed9d08e716720845910c078778 (diff) |
[tests] Soledad have no plans of readding this
need_sync is not part of api anymore and will not be any time sooner.
Removing unnecessary skipped test.
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/unit/bitmask_libraries/test_soledad.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/service/test/unit/bitmask_libraries/test_soledad.py b/service/test/unit/bitmask_libraries/test_soledad.py index 9e0047de..c4dfdafe 100644 --- a/service/test/unit/bitmask_libraries/test_soledad.py +++ b/service/test/unit/bitmask_libraries/test_soledad.py @@ -14,7 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. from mock import patch -from unittest import skip from pixelated.bitmask_libraries.soledad import SoledadSession from test_abstract_leap import AbstractLeapTest @@ -55,17 +54,3 @@ class SoledadSessionTest(AbstractLeapTest): # then instance.sync.assert_called_with() - - @skip("need_sync is gone, we need to find out what can replace it") - def test_that_sync_not_called_if_not_needed(self, mock): - instance = mock.return_value - instance.server_url = '/foo/bar' - instance.need_sync.return_value = False - soledad_session = SoledadSession(self.provider, 'any-passphrase', self.auth.token, self.auth.uuid) - - # when - soledad_session.sync() - - # then - instance.need_sync.assert_called_with('/foo/bar') - self.assertFalse(instance.sync.called) |