Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #144 from mathiasap/map4/fix-unit-tests-for-pr-140
Browse files Browse the repository at this point in the history
Unit test updated to reflect changes in PR #140
  • Loading branch information
bihanssen authored May 15, 2018
2 parents ec2ac39 + 6102410 commit 595b929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nordicsemi/dfu/tests/test_bl_dfu_sett.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ def test_generate_without_application_file(self):
self.assertEqual(nRFArch.NRF52, settings.arch)
self.assertEqual('nRF52', settings.arch_str)
self.assertEqual(0x0007F000, settings.bl_sett_addr)
self.assertEqual(0x2070A601, settings.crc)
self.assertEqual(0xEAA3288E, settings.crc)
self.assertEqual(0x00000001, settings.bl_sett_ver)
self.assertEqual(0x00000001, settings.app_ver)
self.assertEqual(0x00000001, settings.bl_ver)
self.assertEqual(0x00000000, settings.bank_layout)
self.assertEqual(0x00000000, settings.bank_current)
self.assertEqual(0x00000000, settings.app_sz)
self.assertEqual(0x00000000, settings.app_crc)
self.assertEqual(0x00000001, settings.bank0_bank_code)
self.assertEqual(0x00000000, settings.bank0_bank_code)

def test_generate_with_application_file(self):
settings = BLDFUSettings()
Expand Down

0 comments on commit 595b929

Please sign in to comment.