StringFormat is a string formatter for Robot Framework. This library is a python .format() wrapper.
Usage
*** Settings *** |
|||||
Library |
StringFormat |
||||
*** Test Cases *** |
|||||
Format Text |
|||||
${url}= |
Format String |
https://api.domain.com/users/{0}/sites/{1} |
paul |
internal |
|
Log To Console |
${url} |
Output
https://api.domain.com/users/paul/sites/internal
Supported Format
StringFormat library utilizes python str.format method to construct formatted string. The format spec depends on what version of python this library being executed on. See the following resources for detail.
License
Metadata
Release files for robotframework-stringformat 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_stringformat-0.1.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / robotframework_stringformat-0.1.8-py2.py3-none-any.whl
| Download URL | robotframework_stringformat-0.1.8-py2.py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
33869cf54e246257cdc40939b3799ece275ec63c239969a6b548497b0af7aa5b
|
|
BLAKE2b-256 checksum How to use checksums |
3825f027743aa1c7db5336556cc08fb6d999de7cc79c3f61f934197ad961e692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|