Commit Graph

21 Commits

Author SHA1 Message Date
Ian Wienand 79d7c6e5f3 Fix old file() alias for open()
Change-Id: Icebfa5b2fb0c972be0324d18824523ba0e30aaab
2021-06-02 06:17:55 +10:00
Ian Wienand 128dcb85a8 Update tests
This is a run of 2to3 over the tests file.

Change-Id: If05cd0bfdfbcd9d3782847024f61e4b79c8f6e38
2021-06-02 06:17:25 +10:00
Bob Ball 5f8bdbeef1 Adding ability for a non-chair to end a meeting after time
This is particularly useful if the chair forgot to end the meeting
or has been net split out and the nick is no longer useable.

Change-Id: Id5c0c11ec94898f3a79ac253a9d804baec79a85d
2013-07-12 14:15:31 +01:00
Bob Ball b06edb2517 Fixed test scripts to include a meeting name
Required to make supybot tests pass

Change-Id: I47e1410d5c60334f89cd451a066f36f5c843c95a
2013-07-12 13:39:37 +01:00
Richard Darst a7c62223ea Make link URL matching smarter
Ignore-this: bff39c43073f3576e31bda52b7383e6b
- Link URL matching no longer requires the URL to be at the
  beginningfront of the line
- Includes test case and documentation fix.

darcs-hash:20101227093449-82ea9-727739b99ac86256216350b90dc3e710ea181f51.gz
2010-12-27 01:34:49 -08:00
Richard Darst 11dcb55c4b run_test.py - fix up test scripts
Ignore-this: 195d8aa23f913b86508f0662bee5c789
- Make tests work again after the module split.
- Many test changes.
- Fix up some documentation.

darcs-hash:20101227081516-82ea9-b49174ed7ab7eff247ba507f7b77c38cdace4a8c.gz
2010-12-27 00:15:16 -08:00
Richard Darst 0ade14ad3a writers.py - more properly detect nicknames in lines
Ignore-this: 3c2adc52abbece612f594d18cc83862c
- This patch makes "Action items, per person" search for nicks
  limited to full words.  For example, the nick 'jon' will no longer
  be assigned lines containing 'jonathan'.
- Includes a unit test

darcs-hash:20101227075058-82ea9-2b37054e5fed11f6c46a239a4a669efd1293cb5c.gz
2010-12-26 23:50:58 -08:00
Richard Darst 7c094f8ef8 Big rename and split into python modules
Ignore-this: 68006fd9b6602ad039904427e7b33daf
* Rename the supybot plugin: MeetBot -> Meeting
* Split the non-supybot specif parts into the `ircmeeting` Python
  module.
* Code changes to support these changes.
* This is a big change so it's expected to be a little bit messy.
  This patch may depend on others until things get sorted out.

darcs-hash:20101129040316-82ea9-e8ce7671c5b765551b98444dc082a9be6011dc4f.gz
2010-11-28 20:03:16 -08:00
Richard Darst 534c6842b1 Add %(channel) replacement to filenames
- Allows configuration of saving on a per-network basis.

darcs-hash:20091125085704-82ea9-6068d1ae3eb521f19447c6e07f8dd46390ad6868.gz
2009-11-25 00:57:04 -08:00
Richard Darst 5dc581b0d4 Enable tests for template writers
- With bochecha's latest patches, the template writers pass all
  required tests.

darcs-hash:20091124070331-82ea9-78ec4383cc80c102dc67ce794ea44043dbdc6cb6.gz
2009-11-23 23:03:31 -08:00
Richard Darst 1506a171be Tests: test non-ascii nicks/lines from supybot
darcs-hash:20091011213745-82ea9-6218bec992e7615d30407d50153c07364a1826df.gz
2009-10-11 14:37:45 -07:00
Richard Darst ae99531720 Added a test of meeting output, and other reorganization
- This patch reorganizes some tests, cleans it up.
- Also adds test_contents_test, which replays a test meeting and then
  looks in all outputs to ensure that the specific items appear (or
  don't appear) in the output files.

darcs-hash:20090924203756-82ea9-510faab6775a5ab12baaa3411a47e22a617797e4.gz
2009-09-24 13:37:56 -07:00
Richard Darst 55a7e3adf7 Add MediaWiki and PmWiki to list of all test writers
darcs-hash:20090919042558-82ea9-df442efc647988cbedccd4fe4cd7d13f0cb78943.gz
2009-09-18 21:25:58 -07:00
Richard Darst 60dfa0cd80 Improve testing: runs all writers for all test scripts
- Gives better test coverage, but still this is just a "run the test
  scripts", not a "test specific things in the output".

darcs-hash:20090912040746-82ea9-e26b3c12e768ba92b0b15c890a205cda1f020713.gz
2009-09-11 21:07:46 -07:00
Richard Darst 3d203994c8 Add an extra test to verify proper supybot tests
- Ensures that we have OK in the output, instead of just lack of FAILED,
  to have supybot-test pass.
- This is neededbecause the external supybot-test command doesn't have
  a useful return code.

darcs-hash:20090912032358-82ea9-bc6d4818a15ed87dccd52e7926c14c4c4465963a.gz
2009-09-11 20:23:58 -07:00
Richard Darst f681d5fb4b Create ways for tests to disable meetingLocalConfig
- We have the __main__.running_tests that can disable it, for things
  running in the same python process.
- We have an environment variable MEETBOT_RUNNING_TESTS for different
  python processes.

darcs-hash:20090912031547-82ea9-2eaee7f221b6fc07e42fdd0bb04e4c11c6037154.gz
2009-09-11 20:15:47 -07:00
Richard Darst 3eca08f341 Add tests for CSS writers and config options
- These tests use the new test mechanisms recorded in recent patches.
- Tests cover all options of css {embedding, not embedding} and
  {default file, not default file}.

darcs-hash:20090911014918-82ea9-2ecae35d293edee09b3723d12cfbf334204cedde.gz
2009-09-10 18:49:18 -07:00
Richard Darst 84c0a25915 Make test runner able to run single tests
- Now, test names can be specified on the command line, and only these
  tests will be run.
- This is imperfect and doesn't handle all cases, but works for now which
  is what matters.

darcs-hash:20090911012615-82ea9-5cf454e2ddcc3cf7d4565856e20ffd1f51c29b33.gz
2009-09-10 18:26:15 -07:00
Richard Darst bdd44aacc6 fix typo in run_tests.py
- runing_tests -> running_tests

darcs-hash:20090911003104-82ea9-e99faebce3293a8d0aa51b6449c06ab2f4be1494.gz
2009-09-10 17:31:04 -07:00
Richard Darst 9fcebd938f Update test runner script to actually work
- Now doesn't ignore the status output of the supybot-based tests.
- Uses unittest framework (but not that well)
- Overall, works better now.  But testing is still tricky, this is far
  from perfect.

darcs-hash:20090816021854-82ea9-2dddc3860357fe20ea878d53c005e37171695361.gz
2009-08-15 19:18:54 -07:00
Richard Darst e8c2f57e51 Add comprehensive test suite
- Enter via tests/run_tests.py
- It has two parts: it replays two meetings, just being sure no exceptions
  are raised
- It runs one suite of test commands through supybot, using the supybot
  test suite, to ensure that supybot usage works.

darcs-hash:20090807232405-82ea9-327d27a3709ad8f851a51552b13d286a9a118fc3.gz
2009-08-07 16:24:05 -07:00