Pre-release
This release is a pre-release and may not be stable for production use.
Karellen Testing Frameworks and Utilities
This project aggregates testing frameworks and utilities for all of the projects under Karellen umbrella.
Mock
A collection of Mock utilities helping with common tasks
Spy
from unittest import TestCase
from karellen.testing.mock import MagicSpy
class Class_A(object):
def method_X(self):
self.method_Y()
def method_Y(self):
pass
class TestSpy(TestCase):
def test_class_a_api(self):
mock = MagicSpy(Class_A())
mock.method_X()
mock.method_Y.assert_called_once_with()
Metadata
Release files for karellen-testing 0.0.1.dev20161012185112
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| karellen-testing-0.0.1.dev20161012185112.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| karellen_testing-0.0.1.dev20161012185112-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / karellen-testing-0.0.1.dev20161012185112.tar.gz
| Download URL | karellen-testing-0.0.1.dev20161012185112.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb7813c57ee38154209113cebed9aea9bfa49d1da3a0bd425b09a971e611adb8
|
|
BLAKE2b-256 checksum How to use checksums |
db2f6ae03ca06d5b9689ab68762e65d2cf7932d785c8063480e700f531af5996
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / karellen_testing-0.0.1.dev20161012185112-py3-none-any.whl
| Download URL | karellen_testing-0.0.1.dev20161012185112-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dd82fd504d42cb75a4ad9f16bb74579ff591a335df9c3a7595fe13dab1b8290
|
|
BLAKE2b-256 checksum How to use checksums |
3ac4fe7d15bd2cb8db7498a4f8a49503ee72bbf9357cc3e8f9eb11b5d63d5aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |