forked from gnome-terminator/terminator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c103b0
commit e4cd22b
Showing
7 changed files
with
27 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[pytest] | ||
addopts = --doctest-modules --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python | ||
# Terminator by Chris Jones <[email protected]> | ||
# GPL v2 only | ||
"""testborg.py - We are the borg. Resistance is futile. | ||
"""test_borg.py - We are the borg. Resistance is futile. | ||
doctests for borg.py | ||
>>> obj1 = TestBorg() | ||
|
@@ -29,12 +29,9 @@ | |
""" | ||
|
||
import os | ||
import sys, os.path | ||
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), ".."))) | ||
|
||
from terminatorlib.borg import Borg | ||
|
||
|
||
class TestBorg(Borg): | ||
attribute = None | ||
|
||
|
@@ -46,6 +43,7 @@ def prepare_attributes(self): | |
if not self.attribute: | ||
self.attribute = 0 | ||
|
||
|
||
class TestBorg2(Borg): | ||
attribute = None | ||
|
||
|
@@ -56,5 +54,3 @@ def __init__(self): | |
def prepare_attributes(self): | ||
if not self.attribute: | ||
self.attribute = 1 | ||
|
||
# TODO: implement test? |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python | ||
# Terminator by Chris Jones <[email protected]> | ||
# GPL v2 only | ||
"""testsignalman.py - Test the signalman class | ||
"""test_signalman.py - Test the signalman class | ||
>>> widget = TestWidget() | ||
>>> signalman = Signalman() | ||
|