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
/** | |
* Zenscroll 5.0.0b | |
* https://github.com/zengabor/zenscroll/ | |
* | |
* Copyright 2015–2019 Gabor Lenard | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
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
/** | |
* Zenspot v1.1 - Execute something when an element is spotted (becomes visible) | |
* | |
* Copyright 2017-2018 Gabor Lenard, https://github.com/zengabor | |
* | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any |
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
### Keybase proof | |
I hereby claim: | |
* I am zengabor on github. | |
* I am gabor (https://keybase.io/gabor) on keybase. | |
* I have a public key whose fingerprint is 34E7 0926 CB35 6BBC CE8E B35C 3038 4494 3EF4 438C | |
To claim this, I am signing this object: |
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
import unittest | |
unittest.TestLoader.testMethodPrefix = 'should' | |
from unittest import TestCase as Specification | |
class MyClass(Specification): | |
def should_do_something(): | |
"""This method with the 'should' prefix will be picked up by test runners""" |