Repository: victorskl/yawsso (language: python)

Issue:
Add rename functionality to login subcommand
Part two of issue #50 


Discussion / hints:
# [Codecov](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin) Report
> Merging [#53](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin) (7ef20d3) into [main](https://codecov.io/gh/victorskl/yawsso/commit/917d00deba979bea9421b6f63399dd447b179d09?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin) (917d00d) will **not change** coverage.
> The diff coverage is `100.00%`.

[![Impacted file tree graph](https://codecov.io/gh/victorskl/yawsso/pull/53/graphs/tree.svg?width=650&height=150&src=pr&token=fwL2Un7qkH&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin)](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin)

```diff
@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          380       384    +4     
=========================================
+ Hits           380       384    +4     
```

| Flag | Coverage Δ | |
|---|---|---|
| unittests | `100.00% <100.00%> (ø)` | |

Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin#carryforward-flags-in-the-pull-request-comment) to find out more.

| [Impacted Files](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin) | Coverage Δ | |
|---|---|---|
| [yawsso/cli.py](https://codecov.io/gh/victorskl/yawsso/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin#diff-eWF3c3NvL2NsaS5weQ==) | `100.00% <100.00%> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin). Last update [917d00d...7ef20d3](https://codecov.io/gh/victorskl/yawsso/pull/53?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Victor+San+Kho+Lin).

Ah right! Sure, will be reviewing in.

Fix patch:
diff --git a/yawsso/__init__.py b/yawsso/__init__.py
index 2977dc3..22e210c 100644
--- a/yawsso/__init__.py
+++ b/yawsso/__init__.py
@@ -1,2 +1,2 @@
 """yawsso cli package, version follow PEP440."""
-__version__ = VERSION = '0.7.0'  # pragma: no cover
+__version__ = VERSION = '0.7.1'  # pragma: no cover


Test patch:
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 8859bb6..e0adc47 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -813,4 +813,4 @@ def test_login_command_rename(self):
         new_tok = cred['dev_renamed']['aws_session_token']
         self.assertNotEqual(new_tok, 'tok')
         self.assertEqual(new_tok, 'VeryLongBase664String==')
-        verify(cli, times=1).poll(...)
\ No newline at end of file
+        verify(cli, times=1).poll(...)