Esempio n. 1
0
 def test_variation_oys_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=auf-deiner-seite')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 2
0
 def test_variation_speed_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=geschwindigkeit')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 3
0
 def test_variation_privacy_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=privatsphare')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/berlin/scene1-privat.html', ANY)
Esempio n. 4
0
 def test_scene_1_template(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 5
0
 def test_berlin_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/new/?xv=berlin')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 6
0
 def test_compare_edge_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=edge')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/compare/scene1-edge.html', ANY)
Esempio n. 7
0
 def test_variation_speed_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=geschwindigkeit')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 8
0
 def test_compare_edge_scene_1_non_us(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=edge')
     req.locale = 'fr'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/index-trailhead.html', ANY)
Esempio n. 9
0
 def test_scene_1_template(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/index-trailhead.html', ANY)
Esempio n. 10
0
 def test_better_browser_scene_1_non_us(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=betterbrowser')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/index-trailhead.html', ANY)
Esempio n. 11
0
 def test_compare_edge_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=edge')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/compare/scene1-edge.html', ANY)
Esempio n. 12
0
 def test_better_browser_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=betterbrowser')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/better-browser/scene1.html', ANY)
Esempio n. 13
0
 def test_berlin_video_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=aus-gruenden')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/berlin/scene1-aus-gruenden.html', ANY)
Esempio n. 14
0
 def test_variation_oys_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=auf-deiner-seite')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 15
0
 def test_berlin_video_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=aus-gruenden')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/berlin/scene1-aus-gruenden.html', ANY)
Esempio n. 16
0
 def test_variation_herz_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=herz')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/berlin/scene1-herz.html', ANY)
Esempio n. 17
0
 def test_better_browser_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=betterbrowser')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/better-browser/scene1.html', ANY)
Esempio n. 18
0
 def test_variation_herz_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=herz')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(
         req, 'firefox/campaign/index-trailhead.html', ANY)
Esempio n. 19
0
 def test_compare_edge_scene_1_non_us(self, render_mock):
     req = RequestFactory().get('/firefox/campaign/?xv=edge')
     req.locale = 'de'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)
Esempio n. 20
0
 def test_berlin_nonde_scene_1(self, render_mock):
     req = RequestFactory().get('/firefox/new/?xv=berlin')
     req.locale = 'en-US'
     views.campaign(req)
     render_mock.assert_called_once_with(req, 'firefox/campaign/index.html', ANY)