using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import re | |
| import sys | |
| KEYWORDS = ['Verwendungszweck', 'Zahlungsempfänger', 'Zahlungsreferenz', 'IBAN Zahlungsempfänger', 'BIC Zahlungsempfänger', 'Auftraggeber', 'IBAN Auftraggeber', 'BIC Auftraggeber', 'Empfänger', 'IBAN Empfänger', 'BIC Empfänger'] | |
| is_in = lambda x, y : len([p for p in x if p in y]) | |
| if len(sys.argv) != 2: |
I hereby claim:
- I am weissi1994 on github.
- I am weissi (https://keybase.io/weissi) on keybase.
- I have a public key ASC99EHBcxIpWYWJb0ijrA9CxFsTakQB0ODDK9Uum0uI1wo
To claim this, I am signing this object:
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
| #!/usr/bin/env python | |
| from daemonize import Daemonize | |
| import os, sys | |
| import subprocess | |
| import wordlist | |
| import logging | |
| import threading | |
| some_rlock = threading.RLock() |