This file contains hidden or 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
from twisted.trial.unittest import TestCase | |
from twisted.test.proto_helpers import StringTransportWithDisconnection | |
from twisted.internet.protocol import Factory | |
from somepackage.someprotocol import SomeProtocol | |
class MockFactory(Factory): | |
pass | |
class TestSomeProtocol(TestCase): |
This file contains hidden or 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
[trialtest] | |
recipe = zc.recipe.egg:scripts | |
eggs = Twisted>=<required_version_here> | |
<your_develop_distribution_here> | |
entry-points = trial=twisted.scripts.trial:run | |
initialization = import sys; sys.argv[1:] or sys.argv.insert(1, "<your_distro_test_package>") |
This file contains hidden or 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
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=IDEA | |
Exec=PATH_TO_IDEA_DIR/bin/idea.sh | |
Icon=PATH_TO_IDEA_DIR/bin/idea_CE128.png | |
Type=Application | |
Categories=Development; | |
StartupWMClass=IDEA |
This file contains hidden or 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
#!/bin/bash | |
sed -i.orig -e 's|$IDEA_JDK/bin/java $JVM_ARGS|$IDEA_JDK/bin/java -javaagent:agent.jar=IDEA $JVM_ARGS|' idea.sh |
This file contains hidden or 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
class MyClass(object): | |
pass |
NewerOlder