old_contents: # Copyright 2015, Google, Inc.
  # Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  # this file except in compliance with the License. You may obtain a copy of the
  # License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
  # law or agreed to in writing, software distributed under the License is distributed
  # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  # or implied. See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  import urllib2
  import logging
  
  HOST='https://testing-dot-wasthereannhlgamelastnight.appspot.com'
  
  ARGS= [ 'WINGS', 'Lak', 'foo', '20171012', 'WINGS/20171012', '20171013/WINGS' ]
  
  # [START e2e]
  #for arg in ARGS:
  response = urllib2.urlopen("{}/WINGS".format(HOST))
  html = response.read()
  print html
  #assert(html == "James Joyce")
  # [END e2e]
  
new_contents: # Copyright 2015, Google, Inc.
  # Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  # this file except in compliance with the License. You may obtain a copy of the
  # License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
  # law or agreed to in writing, software distributed under the License is distributed
  # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  # or implied. See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  import urllib2
  import logging
  
  HOST='https://testing-dot-wasthereannhlgamelastnight.appspot.com'
  
  ARGS= [ 'WINGS', 'Lak', 'foo', '20171012', 'WINGS/20171012', '20171013/WINGS', 'update_schedule' ]
  #ARGS= [ 'WINGS', 'Lak', 'foo', '20171012', 'WINGS/20171012', '20171013/WINGS', 'update_schedule' ]
  
  # [START e2e]
  for arg in ARGS:
    response = urllib2.urlopen("{}/%s".format(HOST) % arg)
    html = response.read()
    print response.code
    if arg != "update_schedule":
        print html
  #  assert(html == "NO\n" or html == "YES\n")
  # [END e2e]
  
subject: test a few URIs of the staging