Related Issues (20)
- Test City has attribute name
- Test Place is a subclass of BaseModel
- Test Review is a subclass of BaseModel
- Test State is a subclass of BaseModel
- Test User is a subclass of BaseModel
- Test for presence of all Place attributes
- Test that string printed/casted from Amenity matches __str__ requirement
- Test that string printed/casted from City matches __str__ requirement
- Test that string printed/casted from Place matches __str__ requirement
- Test that string printed/casted from Review matches __str__ requirement
- Test that string printed/casted from State matches __str__ requirement
- Test that string printed/casted from User matches __str__ requirement
- Test that all() method returns a dictionary
- Test that new() method creates a new object in FileStorage().all()
- Test that save() method serializes objects to a JSON file
- Test that reload() method deserializes a JSON file to FileStorage().all()
- Test that dictionary returned from all() method has values solely comprised of BaseModel instances (subclasses included)
- Test that reload() method does nothing if a JSON file is not found
- Test that dictionary returned from all() method has keys that has "<class name>.id" format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holbertonschool-higher_level_testing.