old_contents: import unittest
  import github
  
  class TestGithub(unittest.TestCase):
  
      def setUp(self):
  
          pass
  
  
      def test_user(self):
  
          u = github.user()
          u1 = github.user()
  
          self.assertTrue(u)
          # make sure hash works
          self.assertTrue(u is u1)
      
      def test_has_issues(self):
  
          self.assertTrue(github.has_issues(("jonmorehouse/vim-github")))
          self.assertFalse(github.has_issues(("jonmorehouse/github-issues.vim")))
  
      def test_repo_from_path(self):
  
          up = "/Users/MorehouseJ09/Desktop/github-issues.vim"
          self.assertTrue(github.repo_from_path(up))
  
  if __name__ == "__main__":
      unittest.main()
  
new_contents: import unittest
  import github
  
  class TestGithub(unittest.TestCase):
  
      def setUp(self):
  
          pass
  
  
      def test_user(self):
  
          u = github.user()
          u1 = github.user()
  
          self.assertTrue(u)
          # make sure hash works
          self.assertTrue(u is u1)
      
      def test_has_issues(self):
  
          self.assertTrue(github.has_issues(("jonmorehouse/vim-github")))
          self.assertFalse(github.has_issues(("jonmorehouse/github-issues.vim")))
  
  if __name__ == "__main__":
      unittest.main()
  
subject: Remove old repo_from_path tests. This is a very hard functionality to test