From 4ade8bdbdafbadb98a1f0038f96887132cf5a16a Mon Sep 17 00:00:00 2001 From: Lakitna Date: Sun, 8 Mar 2026 21:45:08 +0100 Subject: [PATCH] Updated docs --- README.md | 4 ++-- src/CacheLibrary/CacheLibrary.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df9c6b1..9eb1024 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Robot Framework Cache Library Caching mechanism for Robot Framework tests. Works within a single test run and across multiple test -runs. Works with Pabot, though it requires `--pabotlib`. +runs. Works with Pabot (requires `--pabotlib`). ## Why @@ -80,7 +80,7 @@ token every time you run a test. This can be a great help while making or debugg ```robotframework Get Api Session Token - ${cache_key} = Set Variable api-session + VAR ${cache_key} = api-sessions ${cached_token} = Cache Retrieve value ${cache_key} IF $cached_token is not $None RETURN ${cached_token} diff --git a/src/CacheLibrary/CacheLibrary.py b/src/CacheLibrary/CacheLibrary.py index 365737c..fc78faf 100644 --- a/src/CacheLibrary/CacheLibrary.py +++ b/src/CacheLibrary/CacheLibrary.py @@ -77,7 +77,7 @@ class CacheLibrary: request the session token every time when you're making/debugging a test. | Get Api Session Token - | ${cache_key} = Set Variable api-session + | VAR ${cache_key} = api-sessions | ${cached_token} = Cache Retrieve value ${cache_key} | IF $cached_token is not $None | RETURN ${cached_token}