Commit Graph

659 Commits

Author SHA1 Message Date
ZyX 8984647106 Add tests 2014-01-26 22:27:28 +04:00
ZyX a571f49b3d Get rid of printf 2014-01-26 21:59:33 +04:00
ZyX 480434331f Add tests for special characters escaping 2014-01-26 21:45:02 +04:00
ZyX e3bf63e55c Do not do needless copying in test_shells/test.sh 2014-01-26 21:30:01 +04:00
ZyX e7820efe56 Make powerline work with non-utf filenames
Fixes #281
2014-01-26 21:01:19 +04:00
ZyX e489e549a6 Move setup to powerline-setup.fish
This file is supposed to be placed in /usr/share/fish/functions.
2014-01-23 19:32:19 +04:00
ZyX 64e23d346e Merge branch 'patch-1' into develop
Fixes #724
2014-01-23 18:45:46 +04:00
ZyX b75d2b531f Add tests 2014-01-23 18:45:09 +04:00
ZyX-I 79c4d37814 Merge pull request #696 from ZyX-I/fish
Add powerline/bindings/fish/powerline.fish
2014-01-23 06:36:58 -08:00
ZyX 9fcfd54d90 Disable fish tests on travis 2014-01-23 18:33:33 +04:00
ZyX b37940235c Also print shell version string 2014-01-23 16:41:29 +04:00
ZyX d75f47a0c7 Use `.` for sourcing in fish
It appears that travis uses fish version without this command. Though `.` is 
deprecated on new versions it is still supported for backwards compatibility, 
thus may be used here.
2014-01-23 16:32:18 +04:00
ZyX 8b341c622e Make XDG_CONFIG_HOME point to writeable location 2014-01-23 16:14:32 +04:00
ZyX 12aa69a0c2 Also output full.log
Hope it will give some hints about why fish tests fail on travis
2014-01-23 15:58:52 +04:00
EinfachToll 10cd7b78f0 More test cases for position segment 2014-01-23 09:23:53 +01:00
ZyX 6004403947 Another attempt to fix fish on travis 2014-01-23 07:45:35 +04:00
ZyX 2f98276ee0 Make postproc.py only leave fish prompt
Should fix fish tests
2014-01-23 07:36:54 +04:00
ZyX 166f827c9f Improve test_shells/test.sh:
- Add argument that makes it run only one shell
- Make this argument also force skipping removal of tests/shell directory
- Make it copy logs to tests/shell before and after processing
2014-01-23 07:36:08 +04:00
ZyX 11f86e77b0 Add fish tests 2014-01-22 08:33:43 +04:00
EinfachToll 90132fe386 Small fixes for new position segment
- use vim_funcs
- use a dictionary instead of a tuple for translation strings
2014-01-21 15:48:05 +01:00
EinfachToll 45e4650d5c Merge branch 'develop' into feature/539-position-segment 2014-01-21 15:40:05 +01:00
ZyX a590e100a2 Fix functional shell tests in travis
Hostname in travis contains random numbers meaning that it occasionally may 
contain a PID as well. Thus it must be replaced first.
2014-01-19 17:26:31 +04:00
ZyX 2b171cff67 Try to workaround problems with last line in travis 2014-01-18 01:59:19 +04:00
ZyX-I 2a525ae4f8 Merge pull request #667 from kovidgoyal/fix-git-branch-name
Fix git branch name sometimes getting stuck with inotify
2014-01-17 10:20:25 -08:00
ZyX 56ef798218 On travis there are differences in CRs for some reason
This commit strips CRs from *.ok files and test output. Test failure used to be 
not recognized due to pipe: `cat -v` always succeeds meaning that `if ! diff 
… | cat -v` always succeeds too.
2014-01-17 21:34:18 +04:00
ZyX ac9703e04c Also check for jobnum 2014-01-17 20:54:47 +04:00
ZyX a71c49d96b Add tests 2014-01-17 20:51:38 +04:00
EinfachToll 7aa978fdba New fixed segment showing position of current view
Solves #539
Fixed version of #540 and #579
Works now for split windows and wrapped lines.
2014-01-15 10:32:04 +01:00
ZyX 31f85800b6 Merge branch 'kruton-develop' into develop
Fixes #748
2014-01-14 23:42:22 +04:00
Kenny Root c33d56e73c Add arg to optionally suppress user segment
This adds the option to common.user to suppress display if the username
matches the given string in the new "hide_user" argument.
2014-01-13 23:57:41 -08:00
ZyX 2e713269ae Always show hostname (travis is ssh), fix jobnum in zsh 2014-01-14 00:18:34 +04:00
ZyX 0f0a5e92d3 Replace sed with python script
sed escaping is wrong: e.g. re.escape() will escape `+`, but with BRE escaped 
plus is quantifier
2014-01-13 22:37:33 +04:00
ZyX 03245f192b Also replace $USER with USER 2014-01-13 22:11:52 +04:00
ZyX b16943292b Add missing zsh.ok 2014-01-13 22:04:44 +04:00
ZyX d1793fac61 Run apt-get with sudo and -qq like suggested in travis documentation
Documentation though suggests using before_install. Not sure why.
2014-01-13 21:48:09 +04:00
ZyX b55c5da336 Also install screen 2014-01-13 19:48:12 +04:00
ZyX d9c62d4796 Add zsh functional tests 2014-01-13 19:47:58 +04:00
ZyX 6c27506270 Move tests/test_shells/input.sh to tests/test_shells/input.bash 2014-01-13 01:07:13 +04:00
ZyX 6996896b22 Made it use screen for testing 2014-01-13 00:53:38 +04:00
ZyX 55957ec3cb Move shell testing to tests/test_shells/test.sh 2014-01-12 23:45:17 +04:00
ZyX bb9034adcf Replace zyx-desktop with HOSTNAME 2014-01-11 13:52:07 +04:00
ZyX ed99b09e86 Use get_output function 2014-01-11 13:36:02 +04:00
ZyX 301dbf2bd3 Add a few empty lines, rename bash directory to 3rd 2014-01-11 13:31:57 +04:00
ZyX f20792bb38 Add bash functional tests 2014-01-11 13:16:25 +04:00
ZyX 73d7b0db08 Add functional tests for plugin themes 2014-01-11 11:51:58 +04:00
Kenny Root 54e7fe91ba Fix common.user test
The username was being cached from previous tests, so clear it before
running this test.
2014-01-10 14:15:54 -08:00
ZyX 4f80468645 Fix tests broken due to jobnum introduction 2014-01-10 23:17:06 +04:00
ZyX-I 47fdff946c Merge pull request #715 from ZyX-I/no-run_once-watches
Reduce number of inotify watches
2014-01-10 09:23:36 -08:00
ZyX bb0d9028f1 Make sure watcher is not used 2013-11-21 00:23:25 +04:00
ZyX 95d13a334a Test that nothing is reloaded with run_once=True 2013-11-21 00:18:34 +04:00
ZyX 2ef0d4412d Add jobnum segment
Replaces #596. Differences:
- Tests and metavar.
- Uses “jobnum” name in place of “jobs”.
- Does not use subshell for zsh. Also counts jobs correctly in zsh.
- Adds an option to force showing jobnum segment even if there are no jobs.
2013-11-19 01:01:49 +04:00
Kovid Goyal 7423b55cc4 Fix git branch name sometimes getting stuck with inotify
If you try to checkout the already current branch in git, git creates
HEAD.lock and renames it to HEAD. This causes the inode of HEAD to
change and so the inotify file watcher stops tracking HEAD.

The fix is to re-create the inotify watch when the file attributes
change. This is a bit of a performance penalty as most of the time the
attribute changes are simple last modified time/size changes, but since
inotify provides no way to know specifically when the inode has changed,
this is the best we can do.
2013-09-25 10:27:48 +05:30
Kim Silkebækken 74d4ee9669 Update tests
Unit tests are not run on external segments. When external segments are
moved out of the core repo the extra test code won't be needed.
2013-08-20 16:48:54 +02:00
Kim Silkebækken ab6140136d Add visual_range segment
Returns a value similar to `showcmd`.

TODO: Make proper test case.
2013-08-06 10:57:04 +02:00
Kim Silkebækken 225ac48cfc Merge remote-tracking branch 'tmurph/feature/504-battery-segment' into develop
Conflicts:
	powerline/config_files/colorschemes/tmux/default.json
2013-07-31 15:28:54 +02:00
Trevor Murphy 24cda1d947 Add a battery info segment.
Default colors range from red (full battery) to white (no battery) but can be changed via the
`battery' and `battery_gradient' settings.

Default presentation is a formatted percentage string (with keyword `batt').  The `gamify' setting
changes this to a sequence of video game hearts.

Number of steps from 100% to 0% / number of video game heart icons is controlled by the `steps'
setting (default 5).
2013-07-13 22:44:38 -04:00
Kim Silkebækken c1ae7f3598 Merge remote-tracking branch 'zyx-i/fix-516' into develop 2013-06-28 14:26:33 +02:00
Jack Zhou 72b082a510 Change [DETACHED HEAD] message to a short hash of the detached head. 2013-06-28 13:49:45 +02:00
ZyX 987376aecb Fix tests 2013-06-22 19:14:07 +04:00
ZyX 9080a34ee8 Fix problems with merging vim.Dictionary
Also add tests

Fixes #516
2013-05-23 18:36:51 +04:00
ZyX 795b9874ba Add missing import
Also add tests

Fixes #511
2013-05-22 00:22:01 +04:00
Kim Silkebækken 1581d9be9b Merge remote-tracking branch 'jacobwalker0814/feature/477-environment-segment' into develop 2013-05-21 10:12:50 +02:00
ZyX 962a1b6fc2 Fix tests 2013-05-19 13:17:59 +04:00
ZyX dfaf8c3b3a Fix messages 2013-05-19 13:17:58 +04:00
ZyX f10729f637 Add some new features to tests/vim.py 2013-05-19 13:17:58 +04:00
ZyX ebd122d4ac Unfinished attempt to adapt tests to new code 2013-05-19 13:17:58 +04:00
ZyX ee48836f7c Always return true in install.sh 2013-05-06 19:13:00 +04:00
Kim Silkebækken 4d5d92dda2 Merge remote-tracking branch 'zyx-i/powerline-daemon' into develop 2013-05-06 15:37:44 +02:00
Kovid Goyal 7b495aff0c Fix tests failing if inotify not available 2013-05-03 10:34:50 +05:30
Jacob Walker ed65d34e1a Segment to Print Environment Variables
- Added segment function to powerline.segments.common.
 - Added test to check return values.
 - Added default colorschemes for everything but iPython.

Ref #477
2013-05-02 09:35:13 -05:00
ZyX 467bc53589 Also fix bash tests 2013-05-02 16:01:44 +04:00
ZyX b78a8cea14 Fix tmux tests 2013-05-02 15:47:05 +04:00
Kovid Goyal ad55daf9c3 Make vcs segments *much* faster
Do not call vcs status unless the relevant files have changed.
Uses inotify, if available, otherwise falls back to stat() based
monitoring. Fixes #396
2013-05-02 11:13:54 +05:30
Kim Silkebækken 02eee6f54e Merge remote-tracking branch 'zyx-i/virtcol-current-gradient' into develop
Conflicts:
	tests/vim.py
2013-04-20 16:57:37 +02:00
ZyX bd0546d688 Add virtcol_current textwidth-based gradient 2013-04-13 19:37:43 +04:00
ZyX cce79fda0e Add support for getbufvar('%') and &textwidth option to vim emulation 2013-04-13 19:37:23 +04:00
ZyX 2d036c0de8 Fix indentation of dictionaries 2013-04-13 19:35:25 +04:00
ZyX a4c59ded76 Make tests more verbose and catch first KeyboardInterrupt 2013-04-13 15:44:08 +04:00
Kim Silkebækken 7864acb70b Update tests 2013-04-11 11:52:54 +02:00
Kim Silkebækken 0c7cc25a02 Merge remote-tracking branch 'zyx-i/threaded-cpu_load_percent' into develop 2013-04-08 11:39:23 +02:00
ZyX 71329cdb5d Add gradient for cpu_load_percent
Note: no changes to colorschemes: no cpu_load_percent in colorscheme
2013-04-08 08:04:22 +04:00
ZyX 5b8b3599be Fix tests on python-2.6 2013-04-06 19:01:59 +04:00
ZyX b1fecebd53 Some fixes for flake8 2013-04-06 18:56:19 +04:00
ZyX e68bae6409 Add fixes for flake8 to that stuff 2013-04-06 18:53:16 +04:00
ZyX 42ee82c1de Update *watcher stuff from @kovidgoyal develop branch 2013-04-06 18:48:04 +04:00
ZyX d1d05c9dcf Add support for reloading configuration in the main thread 2013-04-06 18:09:45 +04:00
ZyX 88865b1145 Defer create_renderer (and thus thread creation) until .render call
May fix problem discussed in #397

Also fix documentation for Powerline.render().
2013-04-06 17:18:59 +04:00
ZyX af2f8f588b Replace MultiClientWatcher and Powerline threads with ConfigLoader
Also
- move file opening and parsing to ConfigLoader
- add interval configuration
2013-04-06 17:18:25 +04:00
ZyX 5534b26bfe Forbid querying vim from non-main threads in tests
Currently tests nothing or almost nothing.
2013-04-06 17:16:55 +04:00
ZyX 63e2942929 Also take tests from @kovidgoyal develop branch 2013-04-06 17:16:55 +04:00
Kim Silkebækken 2685f61e88 Merge branch 'various-improvements' into develop 2013-04-05 16:22:46 +02:00
Kovid Goyal 80be4071c9 Disable continuous polling of CPU count in load segment 2013-04-05 16:12:25 +02:00
Kim Silkebækken 2d9110b5f1 Update tests 2013-04-03 14:23:20 +02:00
ZyX 33d32498b9 Do not use create_renderer from a separate thread
Also moves functions from tests.test_config_reload to tests.lib.config_mock

Using create_renderer for vim results in vim access from a separate thread.
2013-04-03 06:33:56 +04:00
ZyX b990c920e9 Use clear_events, do not assert. 2013-04-03 06:02:14 +04:00
ZyX de47b76a06 Add more assertAccessEvents
May fix travis build
2013-04-02 19:23:12 +04:00
ZyX 691efbfc9b Also do the same for `last_pipe_status` 2013-04-02 19:06:05 +04:00
ZyX 4e5bd54f79 Fix cwd segment, add use_path_separator option
cwd segment was not drawing inner separators because of new default for 
multisegment functions. use_path_separator was added because current variant 
looks bad for my taste.
2013-04-02 19:01:03 +04:00
ZyX 66beaaaa9d Replace draw_soft_divider setting with draw_inner_divider
If weather or system_load segments were moved to the left draw_soft_divider
variant resulted in incorrect renderring. Thus it was replaced by
draw_inner_divider.
2013-04-02 17:22:55 +04:00
ZyX f15cdd9413 Replace draw_divider setting with draw_(soft|hard)_divider
Previous variant was bad because
1. draw_divider only applied to soft dividers. Hard dividers were always drawn
2. But there was a hack with width=auto segments: for this segments draw_divider 
   setting applied always.

Now there are no additional dependencies: draw_*_divider applies no matter what 
other properties of the segment are.
2013-04-02 17:21:22 +04:00
Kim Silkebækken fcc009a6f5 Merge remote-tracking branch 'mspaulding06/hostname_exclude_domain' into develop
Conflicts:
	powerline/segments/common.py
	tests/test_segments.py
2013-04-02 11:29:08 +02:00
ZyX b7c61f8bf6 Handle removed and then added files
Note: if user configuration was removed, but global configuration was not it 
will start tracking global configuration file for changes.
2013-04-02 00:27:54 +04:00
ZyX d1e79000b5 Add tests for reloading theme and colorscheme 2013-03-31 14:57:43 +04:00
ZyX 54471569ab Check whether it switches configuration fine 2013-03-31 14:53:21 +04:00
ZyX 8c3be65bba Added test for colors config reloading 2013-03-31 13:37:07 +04:00
Matt Spaulding 3a6c0ab8fd Add test for hostname exclude_domain option 2013-03-30 15:32:29 -07:00
ZyX 5a50acf16b Add initial tests for configuration reloading
Currently only:
- Test for not reloading configuration if run_once is not True
- Test for reloading main configuration and other configurations triggered by 
  changes in main configuration file

TODO: tests for all other configuration files reloading (colors, colorscheme, 
      theme).
2013-03-31 00:06:49 +04:00
ZyX c6be4426d3 Fix whitespace errors 2013-03-31 00:03:35 +04:00
ZyX c2ceac093f Add replace_item with function, remove os import 2013-03-31 00:02:53 +04:00
ZyX 3ebc16a48c Replace pl.environ/getcwd/home with segment_info 2013-03-30 21:55:00 +04:00
ZyX 29f29213a9 Remove ThreadedSegment.write_lock
Assuming getattr(self, 'update_value') and setattr(self, 'update_value', value) 
are atomic. True with cpython unless somebody defined __getattribute__ or 
__setattr__.
2013-03-30 14:07:24 +04:00
ZyX 27c9a05782 Change indentation of closing }, ], ) and combinations of them 2013-03-25 19:04:18 +04:00
ZyX ada5dede25 Fix network_load test
It was using old network_load.sleep and also was not shutting down network_load 
in case it failed test
2013-03-25 18:45:43 +04:00
ZyX 7646c949e2 Automatically reload configuration
Needs testing
2013-03-25 18:24:17 +04:00
ZyX 80ddbfbf9a Split Powerline.__init__ into __init__ and create_renderer
Target: with long-living Powerline objects periodically reload configuration 
recreating renderer. Use file watchers to watch for configuration. Configuration 
should be able to be safely reloaded in non-blocking mode in a separate thread 
up to the time when it comes to recreating renderer.

This commit does not add anything that actually reloads the configuration, 
multiple runs of .create_renderer were not tested.
2013-03-25 18:24:16 +04:00
ZyX 92652ca5c4 Some fixes for flake8 2013-03-25 00:10:54 +04:00
ZyX 00271c2a0c Shut down network_load segment in tests 2013-03-24 22:24:48 +04:00
ZyX d27c720279 Fix race condition, don’t rely on detect feature
detect feature is to be tested though
2013-03-24 20:36:28 +04:00
ZyX 6c495374a0 Fix exec call for non-python-2.7 2013-03-24 20:03:09 +04:00
ZyX 1351207462 Some fixes for flake8 2013-03-24 19:59:56 +04:00
ZyX 8a51d99389 Some fixes for zsh, remove some exceptions handling
Those exceptions are now handled and logged at top level, thus no need to handle
them in segment.

Ref #330, it is now fixed for zsh/zpython

Note: do not use zsh/zpython + python3, it does not work properly, even though
this changeset contains fixes for it as well

Fixes #360
2013-03-24 19:48:51 +04:00
ZyX ed435f8063 Add required pl argument to segments
Fixes #340
Ref #330
2013-03-24 19:44:01 +04:00
ZyX 840ac0109b Port common.branch segment to KwThreaded*, add common.repository_status 2013-03-24 19:35:25 +04:00
Kim Silkebækken 5caeac26bf Merge remote-tracking branch 'zyx-i/fix-356' into develop 2013-03-24 16:18:44 +01:00
Kim Silkebækken 154fe123fe Merge remote-tracking branch 'zyx-i/ipython-other' into develop 2013-03-24 16:18:26 +01:00
ZyX b517df774b Fix bytes handling on python3
Fixes #356
2013-03-24 05:45:52 +04:00
ZyX c4e5ff8b49 Added support for all powerline prompts (in2, out, rewrite)
Also fixed problem with prompt not really updating.

Fixes #141
2013-03-24 05:23:33 +04:00
ZyX b1f9edab4c Remove get_segment_info and passing segment_info through globals 2013-03-24 05:23:33 +04:00
ZyX 83517f65b9 Make test.sh always check only powerline/config_files directory 2013-03-24 01:42:50 +04:00
ZyX 25806fa075 Added gradient for network_load segment 2013-03-24 01:33:56 +04:00
ZyX 157b849d33 Make weather gradient configurable, add system_load gradient
Also make gradients floating-point and fix #332 by removing “normalized” from 
system_load segment documentation.
2013-03-24 00:55:54 +04:00
ZyX 11aa74c634 Make it use gradient for weather temperature
Ref #301
2013-03-19 23:25:44 +04:00
ZyX 260a0dafcb Add tests for the constantly recreated *Powerline instances 2013-03-19 00:42:32 +04:00
ZyX b0495d028f Do not let daemon threads be stopped while being updated 2013-03-18 07:56:25 +04:00
ZyX fb2e9b6cdb Test all other segments
Still uncovered: email_imap_alert and now_playing
2013-03-17 21:23:27 +04:00
ZyX 84dfac6f8e Avoid using python setup.py test
Closes #295
2013-03-17 21:23:26 +04:00
ZyX f547e8b85f Some fixes for flake8 2013-03-17 21:23:15 +04:00
ZyX 62e731314e Replace memoize with threading where applicable
NOTE: Documentation now gets attached to *classes*, not actual segments. Hiding
      away classes (by changing their names to start with `_`) and/or doing

          self.__doc__ = self.__class__.__doc__

      does not work (hiding classes only hides documentation completely). I am
      not familiar with sphinx enough to say how this should be fixed.

Ref #168
2013-03-17 21:22:33 +04:00
ZyX a4adc92215 Do not import memoize, humanize_bytes and urllib_* in powerline.lib 2013-03-17 21:21:03 +04:00
ZyX 29eccf409b Use psutil module for `user` segment 2013-03-17 13:28:57 +04:00
ZyX c237e66958 Make file_size segment output buffer size 2013-03-15 19:31:08 +04:00
Kim Silkebækken 8cdd12a800 Merge remote-tracking branch 'zyx-i/326-fix-None-handling' into develop 2013-03-15 14:18:03 +01:00
Kim Silkebækken 747c75c1c4 Merge remote-tracking branch 'zyx-i/fix-322' into develop 2013-03-15 14:15:26 +01:00
ZyX 48470221f0 Make git.Repository.status() also return None
Fixes #326
2013-03-14 20:03:26 +04:00
ZyX e24703dbdd Add status_colors argument to branch segments
Closes #206
2013-03-13 16:51:53 +04:00
ZyX 6f3703e312 Improve ambiwidth handling, readd additional_escapes
Fixes #307
2013-03-12 13:11:59 +01:00
ZyX b2b05cb81c Removed underscore_to_camelcase
No need to bother both developers (that need to create class names compatible 
with file name, which is not obvious if not looking into main Powerline class) 
and computer (that needs to recompute class name each time) if it is possible to 
bother only developers (or only computer, but this contributes to higher startup 
times).

About not obvious: when you look into zsh_prompt.py and see only 
ZshPromptRenderer name you only think that powerline upstream is following 
strict code style. You don’t think there is a technical reason for such naming, 
like you don’t think there is technical reason for having blank lines. When you 
look into zsh_prompt.py and see `renderer = ZshPromptRenderer` it is obvious 
that there is technical reason for writing code this way because new variable is 
never used in the module itself.
2013-03-11 22:22:18 +04:00
ZyX 2c445a9356 Add more tests to test_configuration
Dynamic configuration tests. Purpose: make sure that default configuration does 
not throw. Tests catch only very trivial problems (like missing imports after
refactoring)
2013-03-11 22:09:34 +04:00
ZyX d27f7a0411 Add most configuration checks
Changes:

- Add main configuration, colors.json, almost full themes and colorschemes
  checks
- Make powerline.lint.check return whether it had problems
- Make powerline-lint fail if .check reported problems
- Make tests run powerline-lint
- Add the script to the list of the installed scripts

Fixes #278
2013-03-11 19:17:18 +04:00
ZyX 4374e1f71c Fix git/hg repo tests 2013-03-11 15:53:34 +01:00
ZyX a6d48232b0 Add python_test, more exclusions
Fixes #289
2013-03-11 15:53:32 +01:00
Kim Silkebækken 111eaa27e8 Combine vim modelines and Python encoding declarations
Ref #314
2013-03-11 10:40:09 +01:00
Kim Silkebækken 6748701fcb Add vim modelines to all Python files
Added with `sed -i '2i# vim:fenc=utf-8:noet' `find -name '*.py'`` and
fixed in a couple of files without the UTF-8 encoding on top.

Ref #314
2013-03-11 08:11:25 +01:00
Kovid Goyal c70d3b38b6 Add bzr support 2013-03-11 07:09:42 +01:00
ZyX aa0a8bf76d Make tests support python2.6
Old unittest is not working for unknown reason, using unittest2 instead
2013-03-03 21:03:40 +01:00
ZyX 0a05b2961a Add support for with: statement to tests.vim
Also made everything use new vim_module._with where possible
2013-03-03 21:03:34 +01:00
ZyX c429d9eeb2 Omit using sys.modules if possible
Does not work though: still TypeError due to some global in multiproccessing
that got None
2013-03-03 21:03:34 +01:00
ZyX c334be416d Add tests.lib module with `replace_*()` with statement functions
Note: there is new problem: now multiprocessing() globals got assigned None
values. It is likely somehow related to extended `sys.modules` utilization
2013-03-03 21:03:26 +01:00
ZyX 584755765b Start adding tests
Tests are temporary disabled on all branches except tests (does not really work
though, needs travis.yml in all branches).
2013-03-03 21:03:19 +01:00