summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-02-09 13:33:30 -0200
committerTayane Fernandes <tayane.rmf@gmail.com>2017-02-09 13:33:30 -0200
commit2bfd4b8da51310da0e11d87f64f57990d93d79e0 (patch)
treeb23562755af9703bf1b0d2b2b1c0682839542f0d /service/test/unit
parentb2676a1f407ecf05cb0b511e563d21b4e2a0ee61 (diff)
[#922] Rename backup account flow
To differentiate between the account recovery flow and the set backup email flow, we renamed all resources and url to reflect this. with @anikarni
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/resources/test_backup_account_resource.py (renamed from service/test/unit/resources/test_account_recovery_resource.py)8
1 files changed, 4 insertions, 4 deletions
diff --git a/service/test/unit/resources/test_account_recovery_resource.py b/service/test/unit/resources/test_backup_account_resource.py
index 01ffaed2..21ae5aab 100644
--- a/service/test/unit/resources/test_account_recovery_resource.py
+++ b/service/test/unit/resources/test_backup_account_resource.py
@@ -20,18 +20,18 @@ from mock import MagicMock, patch
from twisted.trial import unittest
from twisted.web.test.requesthelper import DummyRequest
-from pixelated.resources.account_recovery_resource import AccountRecoveryResource
+from pixelated.resources.backup_account_resource import BackupAccountResource
from test.unit.resources import DummySite
-class TestAccountRecoveryResource(unittest.TestCase):
+class TestBackupAccountResource(unittest.TestCase):
def setUp(self):
self.services_factory = MagicMock()
- self.resource = AccountRecoveryResource(self.services_factory)
+ self.resource = BackupAccountResource(self.services_factory)
self.web = DummySite(self.resource)
def test_get(self):
- request = DummyRequest(['/recovery'])
+ request = DummyRequest(['/backup-account'])
request.method = 'GET'
d = self.web.get(request)