old_contents: from django.test import TestCase
  
  from builds.models import Version
  from projects.models import Project
  
  class Testmaker(TestCase):
      fixtures = ["eric"]
  
      def test_imported_docs(self):
          # Test Import
          self.client.login(username='eric', password='test')
          r = self.client.get('/dashboard/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/import/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.post(
              '/dashboard/import/',
              {'repo_type': 'git', 'name': 'Django Kong',
               'tags': 'big, fucking, monkey', 'default_branch': '',
               'project_url': 'http://django-kong.rtfd.org',
               'repo': 'https://github.com/ericholscher/django-kong',
               'csrfmiddlewaretoken': '34af7c8a5ba84b84564403a280d9a9be',
               'default_version': 'latest',
               'privacy_level': 'public',
               'version_privacy_level': 'public',
               'description': 'OOHHH AH AH AH KONG SMASH',
               'documentation_type': 'sphinx'})
          kong = Project.objects.get(slug='django-kong')
          kong_1 = Version.objects.create(project=kong, identifier='latest', verbose_name='latest', slug='latest', active=True)
          self.assertEqual(r.status_code, 302)
          r = self.client.get('/docs/django-kong/en/latest/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/versions/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.post('/dashboard/django-kong/versions/', {'csrfmiddlewaretoken': '34af7c8a5ba84b84564403a280d9a9be', 'version-0.9': 'on', })
          r = self.client.get('/docs/django-kong/en/0.9/index.html', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/builds/django-kong/')
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/edit/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/subprojects/', {})
          self.assertEqual(r.status_code, 200)
  
new_contents: from django.test import TestCase
  
  from builds.models import Version
  from projects.models import Project
  
  class Testmaker(TestCase):
      fixtures = ["eric"]
  
      def test_imported_docs(self):
          # Test Import
          self.client.login(username='eric', password='test')
          r = self.client.get('/dashboard/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/import/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.post(
              '/dashboard/import/',
              {'repo_type': 'git', 'name': 'Django Kong',
               'tags': 'big, fucking, monkey', 'default_branch': '',
               'project_url': 'http://django-kong.rtfd.org',
               'repo': 'https://github.com/ericholscher/django-kong',
               'csrfmiddlewaretoken': '34af7c8a5ba84b84564403a280d9a9be',
               'default_version': 'latest',
               'privacy_level': 'public',
               'version_privacy_level': 'public',
               'description': 'OOHHH AH AH AH KONG SMASH',
               'documentation_type': 'sphinx'})
          kong = Project.objects.get(slug='django-kong')
          kong_1 = Version.objects.create(project=kong, identifier='latest', verbose_name='latest', slug='latest', active=True)
          self.assertEqual(r.status_code, 302)
          r = self.client.get('/docs/django-kong/en/latest/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/versions/', {})
          self.assertEqual(r.status_code, 200)
          #r = self.client.post('/dashboard/django-kong/versions/', {'csrfmiddlewaretoken': '34af7c8a5ba84b84564403a280d9a9be', 'version-0.9': 'on', })
          #import ipdb; ipdb.set_trace()
          #v = Version.objects.get(slug='0.9').update(active=True)
          #r = self.client.get('/docs/django-kong/en/0.9/index.html', {})
          #self.assertEqual(r.status_code, 200)
          r = self.client.get('/builds/django-kong/')
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/edit/', {})
          self.assertEqual(r.status_code, 200)
          r = self.client.get('/dashboard/django-kong/subprojects/', {})
          self.assertEqual(r.status_code, 200)
  
subject: Kill test that didn't make much sense anyway