diff --git a/tests/test_ntp.py b/tests/test_ntp.py index 69dd76c78b083a6460857c6c721ad6103d166c95..25f6fe3f543daf7a1d50d972cd18190aad409c0d 100755 --- a/tests/test_ntp.py +++ b/tests/test_ntp.py @@ -44,7 +44,7 @@ if os.path.isfile('../utils.py'): for l in d.split('\n'): if l.startswith(ntpconf_expected): servers.append(l.split(ntpconf_expected)[1]) - if not '%s%s' % (nfpconf_expected, NTP_SERVER) in d: + if not '%s%s' % (ntpconf_expected, NTP_SERVER) in d: print('Expected NTP server %s not found in %s, found %s instead' % (NTP_SERVER, ntpconf, servers)) sys.exit(1) else: