diff options
| author | Trey Hunner <trey@treyhunner.com> | 2022-11-10 04:18:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-10 13:18:38 +0100 |
| commit | fad070b07b8c5f5022c2867d291cb6968709f2a1 (patch) | |
| tree | 998c660d8a92b2867594ac1a6bab4a5fa57fc0f0 /docs/topics/testing/tools.txt | |
| parent | d6cbf39a1ba2053c6211a16ed42d5410e5c5cdd0 (diff) | |
Improved readability of string interpolation in frequently used examples in docs.
Diffstat (limited to 'docs/topics/testing/tools.txt')
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 81baca4f3f..668ce61080 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -969,7 +969,7 @@ The code for this test may look as follows:: super().tearDownClass() def test_login(self): - self.selenium.get('%s%s' % (self.live_server_url, '/login/')) + self.selenium.get(f'{self.live_server_url}/login/') username_input = self.selenium.find_element(By.NAME, "username") username_input.send_keys('myuser') password_input = self.selenium.find_element(By.NAME, "password") |
