Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5063)

Unified Diff: chrome/test/functional/chromoting/auth.py

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/chromeos_volume.py ('k') | chrome/test/functional/chromoting/chromoting_base.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/chromoting/auth.py
===================================================================
--- chrome/test/functional/chromoting/auth.py (revision 261231)
+++ chrome/test/functional/chromoting/auth.py (working copy)
@@ -1,42 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Chromoting authentication related test cases."""
-
-import chromoting_base
-import pyauto
-
-
-class ChromotingAuth(chromoting_base.ChromotingBase):
- """Chromoting authentication related test cases."""
-
- def setUp(self):
- """Set up for auth test."""
- pyauto.PyUITest.setUp(self)
-
- webapp = self.InstallExtension(self.GetWebappPath())
- self.host.LaunchApp(webapp)
- self.account = self.GetPrivateInfo()['test_chromoting_account']
-
- def testDenyAllowAccess(self):
- """Denies access and then allows access."""
- self.host.ContinueAuth()
- self.host.SignIn(self.account['username'], self.account['password'])
- self.host.DenyAccess()
- self.host.ContinueAuth()
- self.host.AllowAccess()
-
- def testSignOutAndSignBackIn(self):
- """Signs out from chromoting and signs back in."""
- self.host.ContinueAuth()
- self.host.SignIn(self.account['username'], self.account['password'])
- self.host.AllowAccess()
- self.host.SignOut()
- self.host.ContinueAuth()
- self.host.AllowAccess()
-
-
-if __name__ == '__main__':
- chromoting_base.Main()
« no previous file with comments | « chrome/test/functional/chromeos_volume.py ('k') | chrome/test/functional/chromoting/chromoting_base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698