- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/userscontainer.txt
r9283 r11949 1 User container for the Kofa1 User container for the Ikoba 2 2 *************************** 3 3 4 4 .. :doctest: 5 .. :layer: waeup. kofa.testing.KofaUnitTestLayer5 .. :layer: waeup.ikoba.testing.IkobaUnitTestLayer 6 6 7 7 Before we can start, we need some password managers available: … … 14 14 us: 15 15 16 >>> from waeup. kofa.userscontainer import UsersContainer16 >>> from waeup.ikoba.userscontainer import UsersContainer 17 17 >>> myusers = UsersContainer() 18 18 … … 31 31 >>> bob = myusers['bob'] 32 32 >>> bob 33 <waeup. kofa.authentication.Account object at 0x...>33 <waeup.ikoba.authentication.Account object at 0x...> 34 34 35 35 >>> bob.name … … 50 50 We can export user accounts: 51 51 52 >>> from waeup. kofa.userscontainer import UsersExporter52 >>> from waeup.ikoba.userscontainer import UsersExporter 53 53 >>> import os 54 54 >>> import tempfile
Note: See TracChangeset for help on using the changeset viewer.