()
| 5 | |
| 6 | |
| 7 | def test_auth(): |
| 8 | if not util.credentials_available(): |
| 9 | warnings.warn("Skipped test_auth because there were no credentials available.") |
| 10 | return |
| 11 | sess = util.session() |
| 12 | |
| 13 | assert "FERNET_KEY" in os.environ |
| 14 | assert len(os.environ["FERNET_KEY"]) == 32 |
| 15 | assert sess.username == "ScratchAttachV2" |