From 5b72e5419df4eed148f7ec64e9d1d4bb924af4cf Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sun, 8 Jun 2014 17:22:52 -0400 Subject: [PATCH] fix shebang lines in the tests to take advantage of any activated python environment --- tests/test_dns.py | 2 +- tests/test_mail.py | 2 +- tests/test_smtp_server.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_dns.py b/tests/test_dns.py index d762a83e..3233e306 100755 --- a/tests/test_dns.py +++ b/tests/test_dns.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Tests the DNS configuration of a Mail-in-a-Box. # diff --git a/tests/test_mail.py b/tests/test_mail.py index 8975eb87..686d07a5 100755 --- a/tests/test_mail.py +++ b/tests/test_mail.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Tests sending and receiving mail by sending a test message to yourself. import sys, imaplib, smtplib, uuid, time diff --git a/tests/test_smtp_server.py b/tests/test_smtp_server.py index 91d46de3..914c94b2 100755 --- a/tests/test_smtp_server.py +++ b/tests/test_smtp_server.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import smtplib, sys if len(sys.argv) < 3: