Commit 81ef7c2d authored by Bram Schoenmakers's avatar Bram Schoenmakers

Allow list_format test to be run independently.

parent 5f6e3bfb
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import unittest
from collections import namedtuple from collections import namedtuple
from freezegun import freeze_time from freezegun import freeze_time
...@@ -244,3 +246,6 @@ just now | in 2 days | in a day | ...@@ -244,3 +246,6 @@ just now | in 2 days | in a day |
""" """
self.assertEqual(self.output, result) self.assertEqual(self.output, result)
if __name__ == '__main__':
unittest.main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment