-
Notifications
You must be signed in to change notification settings - Fork 243
Test Mount API #2039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Test Mount API #2039
Conversation
Great. I am most of the days offline until next week. But i am on it |
372913c
to
beaf7ec
Compare
Note that it's still WIP. I've added high-level tests for the 'local' backend, as it's the simplest. I'll work on adding tests for the remaining backends. |
beaf7ec
to
83e48f4
Compare
83e48f4
to
ab70e8b
Compare
I really like your tests. I can read and understand them very well. This is high quality. |
I don't understand the purpose of |
Unconfigured corresponds to the first run, before the BiT configuration or the EncFS directory is initialised. Configured corresponds to later runs, where there is a preexisting configuration and EncFS directory. |
There is this out-commented line in
To my unerstanding I don't know that the desired test result could be for If you can be more specific with your questions and needs I might be able to help. |
I've had a chance to look at this. 'Unconfigured' in this case refers to the EncFS configuration, rather than the BackInTime configuration. Yes, the BackInTime configuration is reused, but the EncFS mount has not yet been created. Perhaps I should rename it to Edit: Specifically, an initialised backup location will contain the file |
"uninitialized" sounds good to me. |
The config module imports `password`. Previously, the `setPassword` method used the conflicting argument name `password`, which shadowed the name of the imported module. It also attemptd to _use_ the shadowed module name if `self.pw` was None, which means that sometimes the method would work, and sometimes it wouldn't. I've resolved this by renaming the argument name to `password_value`.
9e6e18c
to
0f1df2a
Compare
Hello David, |
I haven't had much chance to work on the lately. The latest commit is work in progress, as the test I'm adding still needs some work to make it pass. In theory, it is supposed to create a new EncFS mount, and confirm that it was created. |
WIP branch adding tests to Mount API for various backends.