2572d7a86a7c018a9318308dfe5bd6c1ca686f13,tests/linux_packages/ycsb_test.py,DetailedResultParserTestCase,setUp,#DetailedResultParserTestCase#,90

Before Change


class DetailedResultParserTestCase(unittest.TestCase):

  def setUp(self):
    path = os.path.join(os.path.dirname(__file__), "..", "data",
                        "ycsb-test-run-2.dat")
    with open(path) as fp:
      self.contents = fp.read()
    self.results = ycsb.ParseResults(self.contents, "histogram")

After Change


class DetailedResultParserTestCase(unittest.TestCase):

  def setUp(self):
    super(DetailedResultParserTestCase, self).setUp()
    self.contents = open_data_file("ycsb-test-run-2.dat")
    self.results = ycsb.ParseResults(self.contents, "histogram")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2572d7a86a7c018a9318308dfe5bd6c1ca686f13
Time: 2019-03-26
Author: ruwa@google.com
File Name: tests/linux_packages/ycsb_test.py
Class Name: DetailedResultParserTestCase
Method Name: setUp


Project Name: recipy/recipy
Commit Name: f2a2dab9f3e604a7f4a9d7bb816d4bd0bd182136
Time: 2016-09-28
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipy.py
Class Name: TestRecipy
Method Name: setup_class


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2572d7a86a7c018a9318308dfe5bd6c1ca686f13
Time: 2019-03-26
Author: ruwa@google.com
File Name: tests/linux_packages/ycsb_test.py
Class Name: SimpleResultParserTestCase
Method Name: setUp