Commits

Jason R. Coombs  committed 38b7f52

Updated tests to match new module structure

  • Participants
  • Parent commits d5ac273

Comments (0)

Files changed (1)

File test/test_commands.py

 # -*- coding: utf-8 -*-
 import re
-import os
-import uuid
-import datetime
 
 from pmxbot_wolframalpha import wa
 
 		"""
 		res = ' '.join(wa(c, e, "#test", "testrunner", "1 USD in GBP"))
 		print res
-		assert re.search(r"""1.+?dollar.+?\d\.\d+ .+?British pound""", res) 
-		
+		assert re.search(r"""1.+?dollar.+?\d\.\d+ .+?British pound""", res)
 
 	def test_wolframalpha_currency_czk_euro(self):
 		"""
 		"""
 		res = ' '.join(wa(c, e, "#test", "testrunner", "12 CZK in euros"))
 		print res
-		assert re.search(r"""K.12.+?[Ee]uros? *\d\.\d+""", res) 
+		assert re.search(r"""K.12.+?[Ee]uros? *\d\.\d+""", res)