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

Unified Diff: appengine/predator/app/frontend/handlers/test/version_test.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. Created 4 years, 1 month 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
Index: appengine/predator/app/frontend/handlers/test/version_test.py
diff --git a/appengine/predator/app/frontend/handlers/test/version_test.py b/appengine/predator/app/frontend/handlers/test/version_test.py
new file mode 100644
index 0000000000000000000000000000000000000000..41107a2c93307875943baf5da53a4c7699290aaa
--- /dev/null
+++ b/appengine/predator/app/frontend/handlers/test/version_test.py
@@ -0,0 +1,15 @@
+import webapp2
+
+from testing_utils import testing
+
+from frontend.handlers import version
+
+
+class VersionTest(testing.AppengineTestCase):
+ app_module = webapp2.WSGIApplication([
+ ('/version', version.Version),
+ ], debug=True)
+
+ def testGetVersion(self):
+ response = self.test_app.get('/version')
+ self.assertEquals(200, response.status_int)

Powered by Google App Engine
This is Rietveld 408576698