mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Tests: Add unit tests #4848
This commit is contained in:
@@ -47,6 +47,7 @@ func TestPathExists(t *testing.T) {
|
||||
func TestDeviceExists(t *testing.T) {
|
||||
assert.True(t, DeviceExists("/dev/null"))
|
||||
DeviceExists("/dev/nvidia0")
|
||||
assert.False(t, DeviceExists(""))
|
||||
}
|
||||
|
||||
func TestPathWritable(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user