old_contents: from django.test import TestCase
  import os
  from casexml.apps.case.models import CommCareCase
  from casexml.apps.case.signals import process_cases
  from couchforms.util import post_xform_to_couch
  
  class MultiCaseTest(TestCase):
      
      def setUp(self):
          for item in CommCareCase.view("case/by_user", reduce=False, include_docs=True).all():
              item.delete()
          
      def testOTARestore(self):
          self.assertEqual(0, len(CommCareCase.view("case/by_user", reduce=False).all()))
          file_path = os.path.join(os.path.dirname(__file__), "data", "multicase", "parallel_cases.xml")
          with open(file_path, "rb") as f:
              xml_data = f.read()
          form = post_xform_to_couch(xml_data)
          process_cases(sender="testharness", xform=form)
          self.assertEqual(4, len(CommCareCase.view("case/by_user", reduce=False).all()))
          
      def testMixed(self):
          self.assertEqual(0, len(CommCareCase.view("case/by_user", reduce=False).all()))
          file_path = os.path.join(os.path.dirname(__file__), "data", "multicase", "mixed_cases.xml")
          with open(file_path, "rb") as f:
              xml_data = f.read()
          form = post_xform_to_couch(xml_data)
          process_cases(sender="testharness", xform=form)
          self.assertEqual(4, len(CommCareCase.view("case/by_user", reduce=False).all()))
          
          
          
new_contents: from django.test import TestCase
  import os
  from casexml.apps.case.models import CommCareCase
  from casexml.apps.case.signals import process_cases
  from couchforms.util import post_xform_to_couch
  
  class TestOTARestore(TestCase):
      
      def setUp(self):
          for item in CommCareCase.view("case/by_user", reduce=False, include_docs=True).all():
              item.delete()
          
      def testOTARestore(self):
          self.assertEqual(0, len(CommCareCase.view("case/by_user", reduce=False).all()))
          file_path = os.path.join(os.path.dirname(__file__), "data", "multicase", "parallel_cases.xml")
          with open(file_path, "rb") as f:
              xml_data = f.read()
          form = post_xform_to_couch(xml_data)
          process_cases(sender="testharness", xform=form)
          self.assertEqual(4, len(CommCareCase.view("case/by_user", reduce=False).all()))
          
      def testMixed(self):
          self.assertEqual(0, len(CommCareCase.view("case/by_user", reduce=False).all()))
          file_path = os.path.join(os.path.dirname(__file__), "data", "multicase", "mixed_cases.xml")
          with open(file_path, "rb") as f:
              xml_data = f.read()
          form = post_xform_to_couch(xml_data)
          process_cases(sender="testharness", xform=form)
          self.assertEqual(4, len(CommCareCase.view("case/by_user", reduce=False).all()))
          
          
          
subject: fix bad test name (was preventing other (failing!) tests from running)