Fake data for testing LibreLingo-related packages
Project description
librelingo_fakes
librelingo_fakes.fakes
This package contains fake data for testing LibreLingo-related packages.
The fake data is returned using the types from librelingo-types.
Usage
from librelingo_fakes import fakes
fakes.course1 # This is a Course() object
fakes.course2 # This is another Course() object
fakes.courseEmpty # This is an empty course
For the full list of fakes, use the autocomplete or check out the this file.
Customizing fakes
You can use fakes.customize
to change some attributes on a fake object.
If you want to change the modules on fakes.course1
, you'd do it like this:
fake_course = fakes.customize(fakes.course1, modules=[
fake_module_1, fake_module_2
])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
librelingo_fakes-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for librelingo_fakes-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687723b3c2ed95e67278065cce3435161079bea4f227ce164f54a292d7062389 |
|
MD5 | 4923cc8840ad510864030cba757fea1c |
|
BLAKE2b-256 | 7733007115321fd4c92fc272370cba10871c6cf1732bbed1796083245759169d |