On 3/14/06, Joe Gregorio <[EMAIL PROTECTED]> wrote:
>
> All of the tests have been rolled back in place. If anyone
> has issues with how the test suite interprets the spec(s)
> then atom-protocol is the place to discuss them.

Yeah OK. This thing doesn't even pass the bozo test.

class ShouldRejectUnknownContentTypes(Warning):
    text = _('A server should reject content if not given a content-type.')

Not true, not in the spec.

class MustRejectNonWellFormedAtom(Warning):
    text = _('A server MUST reject non-wellformed content.')

Not true, not in the spec.

class EntryCreationMustReturn201(Error):
    text = _('When an entry is successfully created the server MUST
return an HTTP status code of 201.')

Not in the spec.

> class EntryCreationMustBeReflectedInFeed(Error):
>    text = _('When an entry is successfully created it must be added to the 
> associated feed.')

Not in the spec.

> class EntryDeletionMustReturn200(Error):
> text = _('When an entry is successfully deleted the status code MUST be 200.')

Not in the spec.

> class EntryDeletionMustBeReflectedInFeed(Error):
>    text = _('When an entry is successfully deleted it must be removed from 
> the associated feed.')

Not in the spec.

>class LocationHeaderMustMatchLinkRelEdit(Error):
>    text = _('The link/@rel="edit" URI must match the URI returned via the 
> Link: HTTP header during creation.')

Not in the spec.

> class LinkRelEditResourceInvalid(Error):
>    text = _('The link/@rel="edit" URI must be dereferencable.')

All URIs are dereferencable.

--

Robert Sayre

"I would have written a shorter letter, but I did not have the time."

Reply via email to