Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 1 | # Copyright 2013 The Chromium Authors. All rights reserved. |
2 | # Use of this source code is governed by a BSD-style license that can be | ||||
3 | # found in the LICENSE file. | ||||
4 | |||||
5 | from file_system import FileSystem | ||||
6 | |||||
7 | class FailOnAccessFileSystem(FileSystem): | ||||
8 | # All this needs to do is implement GetIdentity. All other methods will | ||||
9 | # automatically fail with NotImplementedErrors. | ||||
10 | def GetIdentity(self): | ||||
11 | return '42' | ||||
12 |