Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							74f86654b1 
							
						 
					 
					
						
						
							
							Remove fallbacks for old Python versions.  
						
						
						
						
					 
					
						2022-01-01 18:11:36 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							63eb6672ea 
							
						 
					 
					
						
						
							
							Revert generic 'The Limnoria Contributors' in copyright notices  
						
						... 
						
						
						
						This commit reverts db7ef3f02517f9f2a3c56829a22b9fad3c36e374
(though it keeps the year updates)
After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright 
explains the issue of using VCSs to track copyright.
As db7ef3f02517f9f2a3c56829a22b9fad3c36e374 only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py. 
						
						
					 
					
						2021-10-17 09:57:55 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							db7ef3f025 
							
						 
					 
					
						
						
							
							all: Add generic 'The Limnoria Contributors' to copyright notices.  
						
						... 
						
						
						
						No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history. 
						
						
					 
					
						2021-08-01 21:54:49 +02:00 
						 
				 
			
				
					
						
							
							
								David Macek 
							
						 
					 
					
						
						
						
						
							
						
						
							dce969e4b9 
							
						 
					 
					
						
						
							
							tests: Pass setUp arguments  
						
						... 
						
						
						
						ChannelPluginTestCase#setUp accepts the same parameters as its
super-method PluginTestCase#setUp, but it didn't pass the arguments down
the line.  Now it does. 
						
						
					 
					
						2021-04-24 21:03:48 +02:00 
						 
				 
			
				
					
						
							
							
								David Macek 
							
						 
					 
					
						
						
						
						
							
						
						
							e740953068 
							
						 
					 
					
						
						
							
							Fix some typos  
						
						
						
						
					 
					
						2021-04-24 21:01:07 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							2953126fca 
							
						 
					 
					
						
						
							
							test: Make assertNoResponse default to a non-zero timeout for threaded plugins.  
						
						... 
						
						
						
						Else it doesn't reliably check there is no response. 
						
						
					 
					
						2020-04-11 00:17:16 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							9891b0fca4 
							
						 
					 
					
						
						
							
							Replace failUnless/failIf with assertTrue/assertFalse.  
						
						... 
						
						
						
						The old names are deprecated. 
						
						
					 
					
						2020-01-26 11:14:18 +01:00 
						 
				 
			
				
					
						
							
							
								James Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							a6392c8582 
							
						 
					 
					
						
						
							
							test: choose a random free port for tests using the HTTP server  
						
						... 
						
						
						
						Closes  #1392 . 
					
						2019-12-15 20:20:37 +01:00 
						 
				 
			
				
					
						
							
							
								Johannes Löthberg 
							
						 
					 
					
						
						
						
						
							
						
						
							27e7d6a9ac 
							
						 
					 
					
						
						
							
							Aka: Add web UI ( #1373 )  
						
						... 
						
						
						
						* utils.web: Import html escaping functions
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* Aka: Add web interface for browsing Akas
Fixes  #1226 .
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* httpserver: Actually handle KeyError in unhook
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* test: FakeHTTPConnection: Don't decode data in send
BaseHTTPRequestHandler expects to get bytes, so we can't decode the sent
data.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* test: HTTPPluginTestCase: Use BytesIO instead of StringIO
BaseHTTPRequestHandler expects bytes, not strings.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* test: HTTPPluginTestCase: Rewind wfile to 0 before reading the response
Otherwise the read pointer is at the end of the file.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* Aka: Add basic web UI tests
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> 
						
						
					 
					
						2019-10-10 17:27:34 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							8b2cbbc583 
							
						 
					 
					
						
						
							
							Use a monotonic time for registry cache.  
						
						... 
						
						
						
						So an old cache does not take precedence over a newly set value.
I noticed this bug because of the time going backward in tests
because of the time.time mock introduced in
dcf55cf6deb90f2498e53068175562aa36d315cc, but this may happen
in production systems too.
Also adds another deprecation warning for python < 3.3. 
						
						
					 
					
						2019-10-05 22:29:11 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							a4665803fa 
							
						 
					 
					
						
						
							
							News + RSS: Mock time.time() instead of using time.sleep() in tests.  
						
						... 
						
						
						
						Saves 40s over the ~5min test suite. 
						
						
					 
					
						2019-10-05 12:22:30 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							4f024cb0b2 
							
						 
					 
					
						
						
							
							Add network-specific config values.  
						
						
						
						
					 
					
						2019-08-15 12:22:43 +02:00 
						 
				 
			
				
					
						
							
							
								James Lu 
							
						 
					 
					
						
						
						
						
							
						
						
							d96d464698 
							
						 
					 
					
						
						
							
							test: lower wait time between fetching responses, for faster tests  
						
						
						
						
					 
					
						2017-09-17 19:29:50 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							90c5c78813 
							
						 
					 
					
						
						
							
							Add option --no-setuid to supybot-test  
						
						... 
						
						
						
						https://bugs.debian.org/834950  
					
						2017-01-10 22:56:17 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							912d2e1538 
							
						 
					 
					
						
						
							
							core: Apply some suggestions of pyflakes.  
						
						
						
						
					 
					
						2015-08-31 18:19:22 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							09cb8e977f 
							
						 
					 
					
						
						
							
							supybot-test: Add a new level of verbosity, for showing only unexpected exceptions.  
						
						
						
						
					 
					
						2015-08-29 23:02:20 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							d56539a0dd 
							
						 
					 
					
						
						
							
							Fix http tests on Python 3.  
						
						
						
						
					 
					
						2015-08-15 14:07:01 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							0254d7b84d 
							
						 
					 
					
						
						
							
							Add a decorator to retry tests that fail often.  
						
						
						
						
					 
					
						2015-08-11 17:13:27 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							c3a2c800f1 
							
						 
					 
					
						
						
							
							Remove need for 2to3.  
						
						
						
						
					 
					
						2015-08-11 16:50:23 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							c0ac84bb53 
							
						 
					 
					
						
						
							
							Remove need for fix_import, fix_types, and fix_urllib.  
						
						
						
						
					 
					
						2015-08-10 17:55:25 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							216c5d213f 
							
						 
					 
					
						
						
							
							Replace sys.version_info[0] usages with minisix.PY{2,3}.  
						
						
						
						
					 
					
						2015-08-09 00:23:03 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							be118c3338 
							
						 
					 
					
						
						
							
							Remove use of fix_dict fixer.  
						
						
						
						
					 
					
						2015-08-08 23:08:49 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							4470805b5f 
							
						 
					 
					
						
						
							
							core: Remove useless imports.  
						
						
						
						
					 
					
						2015-03-03 09:02:29 +01:00 
						 
				 
			
				
					
						
							
							
								Mikaela Suomalainen 
							
						 
					 
					
						
						
						
						
							
						
						
							fb26c772fc 
							
						 
					 
					
						
						
							
							src/test.py: fix typo  
						
						... 
						
						
						
						standart --> standard 
						
						
					 
					
						2014-05-22 13:54:25 +03:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							b4ad8c228d 
							
						 
					 
					
						
						
							
							Remove invisible character in src/test.py.  
						
						
						
						
					 
					
						2014-03-02 00:43:58 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							bb7db3ab21 
							
						 
					 
					
						
						
							
							Continue accelerating the 2to3 step (remove fix_except).  
						
						
						
						
					 
					
						2014-01-20 15:49:15 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							2fda69b4d6 
							
						 
					 
					
						
						
							
							Continue accelerating the 2to3 step (remove fix_raise).  
						
						
						
						
					 
					
						2014-01-20 15:43:55 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							c1c23f66f4 
							
						 
					 
					
						
						
							
							Continue accelerating the 2to3 step (remove fix_print).  
						
						
						
						
					 
					
						2014-01-20 15:31:09 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							40675ffdfa 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'supybot/master' into testing  
						
						... 
						
						
						
						Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py 
						
						
					 
					
						2013-08-24 11:28:29 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							f42023bf19 
							
						 
					 
					
						
						
							
							Fix SupyTestCase.assert* with Python 2.6.  
						
						
						
						
					 
					
						2013-05-15 18:52:56 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							916a85c965 
							
						 
					 
					
						
						
							
							core: Various Python 3 compatibility fixes.  
						
						
						
						
					 
					
						2013-03-25 19:15:08 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							20ad495483 
							
						 
					 
					
						
						
							
							src/test.py: Why would a test server create a socket?  
						
						
						
						
					 
					
						2013-02-02 19:51:47 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							39b534246f 
							
						 
					 
					
						
						
							
							Fix http server's tests.  
						
						
						
						
					 
					
						2013-02-01 20:38:01 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							164d85d9fe 
							
						 
					 
					
						
						
							
							core: Fix the test framework after update of the HTTP server.  
						
						
						
						
					 
					
						2013-01-21 20:20:26 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							52e91d5f9c 
							
						 
					 
					
						
						
							
							src/test.py: Implement assertIn for old Python versions.  
						
						
						
						
					 
					
						2013-01-05 21:16:30 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							2bcffdf523 
							
						 
					 
					
						
						
							
							src/test.py: Implement assertIs for old Python versions.  
						
						
						
						
					 
					
						2013-01-05 21:13:36 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							fdb7a764d4 
							
						 
					 
					
						
						
							
							core & Filter & Owner: Fix Python 2.6 compatibibility.  
						
						
						
						
					 
					
						2013-01-05 20:51:36 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							e3e2b23215 
							
						 
					 
					
						
						
							
							src/test.py: Encode strings only if they are not already using unicode.  
						
						
						
						
					 
					
						2013-01-05 20:04:46 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							3dba9088b0 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'supybot/master' into testing  
						
						... 
						
						
						
						Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py 
						
						
					 
					
						2013-01-01 21:11:24 +01:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							84148988b3 
							
						 
					 
					
						
						
							
							Fix tests broken by 6a06ca991.  
						
						
						
						
					 
					
						2012-12-26 15:37:52 +01:00 
						 
				 
			
				
					
						
							
							
								James McCoy 
							
						 
					 
					
						
						
						
						
							
						
						
							cef93a6cfd 
							
						 
					 
					
						
						
							
							Use relative imports for all packages under the supybot namespace  
						
						... 
						
						
						
						Signed-off-by: James McCoy <jamessan@users.sourceforge.net> 
						
						
					 
					
						2012-09-17 22:12:11 -04:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							f63148849c 
							
						 
					 
					
						
						
							
							src/test.py: Fix encoding issues with assertResponse being given an utf8 string.  
						
						
						
						
					 
					
						2012-09-10 17:04:57 +02:00 
						 
				 
			
				
					
						
							
							
								James McCoy 
							
						 
					 
					
						
						
						
						
							
						
						
							82ecf36fcd 
							
						 
					 
					
						
						
							
							Update my name/contact information  
						
						... 
						
						
						
						Signed-off-by: James McCoy <jamessan@users.sourceforge.net> 
						
						
					 
					
						2012-09-01 10:16:48 -04:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							19708c55cc 
							
						 
					 
					
						
						
							
							Fix typo in 5f94da866062138288742792f157bebd93389c3b.  
						
						
						
						
					 
					
						2012-08-08 19:51:11 +00:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							45bf9db03c 
							
						 
					 
					
						
						
							
							Merge branch 'py3k-backport' into testing  
						
						... 
						
						
						
						This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support). 
						
						
					 
					
						2012-08-08 21:46:29 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							5f94da8660 
							
						 
					 
					
						
						
							
							Fix test.assertHelp for commands with long help (XX more messages).  
						
						
						
						
					 
					
						2012-08-08 21:41:25 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							54917f581a 
							
						 
					 
					
						
						
							
							Drop dependency on deprecated httplib.HTTP in test framework.  
						
						
						
						
					 
					
						2012-08-04 16:32:15 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							654b618fec 
							
						 
					 
					
						
						
							
							Fix typo in src/test.py  
						
						
						
						
					 
					
						2012-05-02 21:14:30 +02:00 
						 
				 
			
				
					
						
							
							
								Valentin Lorentz 
							
						 
					 
					
						
						
						
						
							
						
						
							a274f25bb8 
							
						 
					 
					
						
						
							
							Fix commit f4b81659.  
						
						
						
						
					 
					
						2012-05-02 21:13:09 +02:00 
						 
				 
			
				
					
						
							
							
								James McCoy 
							
						 
					 
					
						
						
						
						
							
						
						
							8b73f78b3e 
							
						 
					 
					
						
						
							
							Merge branch 'maint/0.83.4'  
						
						... 
						
						
						
						Conflicts:
	plugins/Misc/plugin.py
	src/ircutils.py
Signed-off-by: James McCoy <jamessan@users.sourceforge.net> 
						
						
					 
					
						2011-11-13 15:26:19 -05:00