Package schrodinger :: Package test :: Package scival :: Module utils :: Class FileItem
[hide private]
[frames] | no frames]

Class FileItem

object --+    
         |    
      Item --+
             |
            FileItem

Provide functionality to a de-serialized File instance.

Instance Methods [hide private]
 
save(self, compress=None, file_dir='.')
Writes the files out to a directory, either compressed as a zip file or as individual files.
 
getContents(self)

Inherited from Item: __contains__, __getattr__, __getitem__, __init__, __iter__, __len__, __repr__, __reversed__, __str__, loadData

Inherited from Item (private): _getData

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  content_link
Get the link for the file's content

Inherited from object: __class__

Method Details [hide private]

save(self, compress=None, file_dir='.')

 

Writes the files out to a directory, either compressed as a zip file or as individual files.

Parameters:
  • compress (str) - The name of the zip file to append each tests file to.
  • dir (str) - The relative directory to write all the files to

Property Details [hide private]

content_link

Get the link for the file's content

Get Method:
unreachable.content_link(self) - Get the link for the file's content