Skip to content

Commit

Permalink
Correcting the names of constants in the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KGergo88 committed Jul 5, 2019
1 parent 641a7fb commit e70596d
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 174 deletions.
12 changes: 6 additions & 6 deletions tests/unit_tests/test_memoryEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ def test___setAddressesGivenEnd(self):
self.assertEqual(entry.addressEnd, self.addressEnd)
self.assertEqual(entry.addressEndHex, hex(self.addressEnd))

extension = 0x1000
self.addressEnd = self.addressEnd + extension
self.addressLength = self.addressLength + extension
EXTENSION = 0x1000
self.addressEnd = self.addressEnd + EXTENSION
self.addressLength = self.addressLength + EXTENSION
entry._MemEntry__setAddressesGivenEnd(self.addressEnd)

self.assertEqual(entry.addressStart, self.addressStart)
Expand All @@ -144,9 +144,9 @@ def test___setAddressesGivenLength(self):
self.assertEqual(entry.addressEnd, self.addressEnd)
self.assertEqual(entry.addressEndHex, hex(self.addressEnd))

extension = 0x1000
self.addressEnd = self.addressEnd + extension
self.addressLength = self.addressLength + extension
EXTENSION = 0x1000
self.addressEnd = self.addressEnd + EXTENSION
self.addressLength = self.addressLength + EXTENSION
entry._MemEntry__setAddressesGivenLength(self.addressLength)

self.assertEqual(entry.addressStart, self.addressStart)
Expand Down
Loading

0 comments on commit e70596d

Please sign in to comment.