old_contents: from __future__ import absolute_import, division, print_function, unicode_literals
  
  import time
  from gratipay.testing import BrowserHarness
  
  
  class Tests(BrowserHarness):
  
      def test_homepage_renders_copy_correctly_for_anon(self):
          assert self.css('#content h1').html == 'Projects'
          assert self.css('#header .sign-in button').html.strip()[:17] == 'Sign in / Sign up'
  
      def test_homepage_renders_copy_correctly_for_authed(self):
          self.make_participant('alice', claimed_time='now')
          self.sign_in('alice')
          self.reload()
          assert self.css('#content h1').html == 'Projects'
          assert self.css('.you-are a').html.strip()[:6] == '~alice'
  
  
  
new_contents: from __future__ import absolute_import, division, print_function, unicode_literals
  
  from gratipay.testing import BrowserHarness
  
  
  class Tests(BrowserHarness):
  
      def test_homepage_renders_copy_correctly_for_anon(self):
          assert self.css('#content h1').html == 'Projects'
          assert self.css('#header .sign-in button').html.strip()[:17] == 'Sign in / Sign up'
  
      def test_homepage_renders_copy_correctly_for_authed(self):
          self.make_participant('alice', claimed_time='now')
          self.sign_in('alice')
          self.reload()
          assert self.css('#content h1').html == 'Projects'
          assert self.css('.you-are a').html.strip()[:6] == '~alice'
  
  
  
subject: Remove time import *eyeroll*.