old_contents: from tslib.readers import PiXmlReader
  import os
  import unittest
  
  DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
  
  
  class TestPiXmlReader(unittest.TestCase):
  
      def test_0010(self):
          source = os.path.join(DATA_DIR, "time_series.xml")
          PiXmlReader.read(source)
          self.assertTrue(True)
  
new_contents: from tslib.readers import PiXmlReader
  import os
  import unittest
  
  DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
  
  
  class TestPiXmlReader(unittest.TestCase):
  
      def test_0010(self):
          source = os.path.join(DATA_DIR, "time_series.xml")
          reader = PiXmlReader(source)
          for md, df in reader.get_series():
              # TODO: verify metadata
              # TODO: verify dataframe
              pass
          self.assertTrue(True)
  
subject: Fix failing test