def setUp(self): self.filename = os.path.abspath( os.path.join(os.path.dirname(__file__), "codeclone_detection", "conditions_samples.c")) self.file = "fake" self.queue = Queue() self.section = Section("test section") self.bear = ClangComplexityBear(self.section, self.queue)
def setUp(self): self.filename = os.path.abspath( os.path.join(os.path.dirname(__file__), 'codeclone_detection', 'conditions_samples.c')) self.file = 'fake' self.queue = Queue() self.section = Section('test section') self.bear = ClangComplexityBear(self.section, self.queue)