Skip to content

Commit

Permalink
Merge pull request #1 from pbalcer/obj-basic-py-inherit
Browse files Browse the repository at this point in the history
test (py): generalize obj_basic_integration
  • Loading branch information
llugin committed Sep 23, 2019
2 parents 27a3adf + aabb5f9 commit 24a181b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/test/obj_basic_integration/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,15 @@

import testframework as t


class TEST0(t.BaseTest):
class BASIC(t.BaseTest):
test_type = t.Medium
memcheck = t.DISABLE

def run(self, ctx):
filepath = ctx.create_holey_file(16 * t.MiB, 'testfile1')
ctx.exec('obj_basic_integration', filepath)

class TEST0(BASIC):
memcheck = t.DISABLE

class TEST1(t.BaseTest):
test_type = t.Medium
class TEST1(BASIC):
pmemcheck = t.ENABLE

def run(self, ctx):
filepath = ctx.create_holey_file(16 * t.MiB, 'testfile1')
ctx.exec('obj_basic_integration', filepath)

0 comments on commit 24a181b

Please sign in to comment.