@@ -0,0 +1,1639 @@
+# Copyright 2012 the Melange authors.%0A#%0A# Licensed under the Apache License, Version 2.0 (the %22License%22);%0A# you may not use this file except in compliance with the License.%0A# You may obtain a copy of the License at%0A#%0A#   http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS,%0A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A# See the License for the specific language governing permissions and%0A# limitations under the License.%0A%0A%0A%22%22%22Tests the view for GCI student form uploads.%0A%22%22%22%0A%0Afrom tests.profile_utils import GCIProfileHelper%0Afrom tests.test_utils import GCIDjangoTestCase%0A%0A%0Aclass StudentFormUploadTest(GCIDjangoTestCase):%0A  %22%22%22Tests the Student form upload page.%0A  %22%22%22%0A%0A  def setUp(self):%0A    self.init()%0A    self.url = '/gci/student/forms/' + self.gci.key().name()%0A%0A  def assertStudentFormUploadTemplatesUsed(self, response):%0A    %22%22%22Asserts that all the templates from student form upload page are used.%0A    %22%22%22%0A    self.assertGCITemplatesUsed(response)%0A    self.assertTemplateUsed(response, 'v2/modules/gci/student_forms/base.html')%0A%0A  def testStudentFormUpload(self):%0A    %22%22%22Tests the studentsInfoList component of the dashboard.%0A    %22%22%22%0A    profile_helper = GCIProfileHelper(self.gci, self.dev_test)%0A    student = profile_helper.createStudent()%0A%0A    response = self.get(self.url)%0A    self.assertStudentFormUploadTemplatesUsed(response)%0A    self.assertResponseOK(response)%0A%0A    self.assertContains(%0A        response, 'To download the sample form or one of its translations')%0A

Implement basic tests for GCI student form uploads.