Skip to content

Commit

Permalink
Canonicalize test class names
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Nov 15, 2023
1 parent 40690ca commit 13c2994
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_imarks(translation: Translation) -> List[PcodeOp]:
# log.debug("%x/%d: %s %s", ins.addr.offset, ins.length, ins.mnem, ins.body)


class ContextTests(TestCase):
class TestContext(TestCase):
"""
Basic Context tests
"""
Expand Down Expand Up @@ -95,7 +95,7 @@ def test_context_premature_release(self):
log.debug("--")


class RegistersTests(TestCase):
class TestRegisterLookup(TestCase):
"""
Context register lookup tests
"""
Expand All @@ -110,7 +110,7 @@ def test_getRegisterName(self):
assert ctx.getRegisterName(ri.space, ri.offset, ri.size) == "RAX"


class AddrSpaceTests(TestCase):
class TestAddrSpace(TestCase):
"""
AddrSpace tests
"""
Expand All @@ -120,7 +120,7 @@ def test_name(self):
assert ctx.translate(b"\xeb\xfe").ops[1].inputs[0].space.name == "ram"


class VarnodeTests(TestCase):
class TestVarnode(TestCase):
"""
Varnode tests
"""
Expand All @@ -137,7 +137,7 @@ def test_getRegisterName(self):
assert tx.ops[1].inputs[1].getRegisterName() == ""


class DisassembleTests(TestCase):
class TestDisassemble(TestCase):
"""
Context::disassemble tests
"""
Expand Down Expand Up @@ -200,7 +200,7 @@ def test_arg_max_instructions(self):
assert len(dx.instructions) == 1


class TranslateTests(TestCase):
class TestTranslate(TestCase):
"""
Context::translate tests
"""
Expand Down

0 comments on commit 13c2994

Please sign in to comment.