-
Notifications
You must be signed in to change notification settings - Fork 6
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
Testcase: external storage + sharing #64
Comments
Need to test if owner + recipients can upload and download each other's files. |
@PVince81 @nickvergessen @SergioBertolinSG @davitol @jvillafanez Can we set up the external storage via the db on the backend? I know it's not ideal, but, if we can automate configuring the external storage, we can run all of the existing smashbox tests on the external storage with just one small change - add the "remote_folder" property to the run_ocsync calls, specifying the external storage mount point as the remote folder. Edit: Does anyone know of a way to run the whole test case per entry in a list? For instance, I updated test_shareFile.py to include the remote_folder option on the run_ocsync calls. In the smashbox.conf file, I specify one external mount and then run the test. All is good. Now, I want to create a list of external storage mount points so I can run the same test across all defined mounts. |
@jnfrmarks to setup external storage, you need to create a file mount.json as "data/mount.json" for system mounts and "data/$user/mount.json" for personal mounts. The format is a bit different and completely twisted. I suggest you simply create some in the admin page and see how the files look like so you could generate them programmatically. Ideally I'd prefer to have a proper API (./occ or OCS) to manage external storages. See owncloud/core#11886 |
Thanks @PVince81! This is great. While I agree 1000% about the api, if we can manually set up the external storage mounts for now, we can get coverage almost for free. I'd rather do that and then update the tests once the api is written. |
"for free"... technical debt is never free |
Mount external storages (still needs a public API for that...) and create shares based on the root and on subdirs.
This doesn't work with encryption for example: owncloud/core#15645
The text was updated successfully, but these errors were encountered: